[16:120] Abraham was indeed an exemplary vanguard in his submission to GOD, a monotheist who never worshiped idols.
[16:121] Because he was appreciative of His Lord’s blessings, He chose him and guided him in a straight path.
[16:122] We granted him happiness in this life, and in the Hereafter he will be with the righteous.
From these verses we see that happiness is a reward God gives to real submitters to God who are appreciative of God’s blessing.
[14:7] Your Lord has decreed: “The more you thank Me, the more I give you.” But if you turn unappreciative, then My retribution is severe.