The Formula for Happiness

What does it take to be happy? Everyone seems to have their own formula they hope will make them happy, but it never seems to add up. The bible has a formula for happiness too: J+O+Y, but it's more about what you give, than what you get.