I Kings 7:38 - I Kings 16:20
Solomon gets the Lord's temple built. Israel worships the Lord. They worship for days. They had gladness and joy.
"On the eighth day he sent the people away: and they blessed the king, and went unto their tents joyful and glad of heart for all the goodness that the Lord had done for David his servant, and for Israel his people." I Kings 8:66
When people from other parts of the world come to see what is going on in Israel, they are amazed at the difference in Solomon's servants. They were happy.
"Happy are thy men, happy are these thy servants, which stand continually before thee, and that hear thy wisdom." I Kings 10:8
Then things change. Solomon goes after strange women, which turn his heart away from the Lord.
"For it came to pass, when Solomon was old, that his wives turned away his heart after other gods: and his heart was not perfect with the Lord his God, as was the heart of David his father." I Kings 11:4
You do not read of gladness, joy or happiness again.
"So Israel rebelled against the house of David unto this day"
I Kings 12:19
When we obey the Lord and do right, that is where we will find happiness. There is joy when we obey. There are rewards for obedience and they are consequences when we disobey.