Baruch Spinoza said this quote

Blessedness is not the reward of virtue, but virtue itself.