Because of who HE is.
I've just read a very fine article by the Sonrise Community Church on the latter half of 2 Samuel 7. The article examines David's appreciation for what God had done in anointing David king over Israel. We get a good glimpse of David's awed humility and his desire that God use him to glorify His name. My favorite part of the article was this excerpt:
"No one can believe simultaneously they’re the coolest thing since sliced bread and praise God for being great. Why do we know and sing of God’s grace as amazing? Because we also know God ‘saved a wretch like me.’ Lesson? Anyone who thinks they deserve such grace, shows how far away from such grace they truly are."
Why do blessings and favor come our way? Because God is good. That's the only reason. Let's make sure others know not only that we've received His amazing grace, but why. And while we're doing that, let's also heap loads of praise for such blessings onto Him, where it is due. His peace.
Find the article at https://sonrisecc.com/2019/10/16/morning-2-samuel-718-29-davids-prayer-of-gratitude/