Happiness is the ultimate goal in life -- not wisdom nor money. But since it is wisdom that can lead to happiness, the answer to your question is "wisdom". Some people believe that money can lead to happiness. That is only an illusion often experienced by people in their earlier stages of life. They have not discovered the wisdom of the previous statement yet. But as people enter later stages of life, wisdom will come and that statement will become more apparent.
As long as one's basic needs are met, any additional money is kind-of useless (it do not buy any more happiness). However, having wisdom can bring about happiness. The first wisdom or truth that one should strive to obtain is the wisdom of knowing what brings about happiness.