Happiness is fleeting. Contentment/being at peace is a much better goal.
Sometimes things will happen to make you feel unhappy. The person who is hysterically happy at a funeral probably needs to see a doctor.
But being at peace with your lot in life is much better than the alternative...