What is happiness? How do we keep it?

Ecclesiastes 2:26 To the man who pleases him, God gives wisdom, knowledge and happiness,
but to the sinner he gives the task of gathering and storing up wealth to hand it over to the one who pleases God.

Do you want to please God?