My last son Josiah is such a sweetie. He thanks you for everything, after a meal, for helping him with homework, for fixing his air conditioner… For most anything.
There is an African proverb that says “when you thank a King for what he has done he would do much more.”
I believe it is the same with God and us, we should learn to thank Him for former mercies, no matter how “little” or insignificant we think it is, before we ask Him for further mercies.
Gratefulness always makes room in God’s heart to do much more for you. Solomon understood this and he took time to bless God for former mercies before asking for His presence to abide in the temple. And God harkened unto his prayers.
1 Kings 8:22-24 AMP
 Then Solomon stood in the court before the Lord’s burnt offering altar in the presence of all the assembly of Israel, and spread forth his hands toward heaven
 And he said, O Lord, the God of Israel, there is no God like You in heaven above or on earth beneath, keeping covenant and showing mercy and loving-kindness to Your servants who walk before You with all their heart.
 You have kept what You promised Your servant David my father. You also spoke with Your mouth and have fulfilled it with Your hand, as it is this day.