I for one think the an anti-Trump campaign that just spammed his "grab them by the pussy, you can do anything" comment would've cut his support among religious voters significantly. It was mentioned in D-leaning spaces but never a campaign focus (at least, not in any of the attack ads I have seen - they were all about issues only D's care about, rallying the base rather than actually trying to care what non-base voters think).
The economy might be what swung this vote, but long-term it's hard to understate how much ground the D's have lost among religious voters for "embracing sexual immorality". Believe it or not, bringing up hypocrisy does work on many of them (at least it might make them stay home) and mere apologies won't erase it. Latinos are where this jumps out in statistics, but it's far from limited to them.
Possibly the reason D's didn't do that (much) was because it would have little down-ballot effect, and no effect on future candidates?
(on another angle, we could've seen "we have reined in Trump's inflation so at least it won't get worse", "Trump gave unconditional handouts without the Democrat-recommended constraints", etc.)