I am not seeing the role of smite spells other than providing a modicum of utility. They take an action to cast as well as a bonus action on a hit. This translates into eating at least 2 attacks at level 5 or above plus an additional attack on hit if dual wielding. Given the way DRS works in this game, a single attack is worth a lot more than it is in 5e. I can't see any case where casting a smite spell could make up for the damage lost due to forgoing attacks, especially after 5th level. With damage stacking, a paladin could get a stronger single divine smite when combined with thunderous smite. However, using divine smite on critical only, the expected value of this combination would be limited and not match the damage lost by forgoing attacks.

Am I missing a mechanic that would otherwise make smite spells viable from a damage perspective?