moralize
🇺🇸
/ˈmɔːrəlaɪz/
🇬🇧
/ˈmɒrəlaɪz/
to give advice or express opinions about what is right or wrong behavior
She often moralizes about the importance of honesty in relationships.