If you feel that the purpose of life is happiness, enlightenment, understanding, then that's what you'll experience. You become, what you focus on.