What feels wrong? If she earns more than him, he can file for alimony here.
Alimony isnโt a tool to take revenge. Itโs a valid right put in place to make separation easier on the financially weaker partner (usually women).
Sucks that your friend got cheated on, but donโt misuse laws to take revenge.