The phrase, "the pursuit of happiness" is a mistranslation of the Greek "eudaimonia," which means "human flourishing." You get it through "arete," or excellence. And what is excellence? Mastery. Autonomy. Meaning. Purpose. Community.
But it's not money. After a certain point, money doesn't motivate at all.
I had a girlfriend who worked for the federal government and made $120,000 a year. She had her own office. She hated it, lasted three years, went to work for herself making half the money, but is four times as happy.