These verses were explained in (2 Sam 5:11, 12), and in them we see how God established David's kingdom: Hiram king of Tyre, which was one of the great cities at that time, sent to bless him on his reign, and he presented him with many gifts.
If you please God with your love, your repentance and your good works, God will bless you and give you favor in the eyes of those around you, that you may grow in love for Him and in the love of all.
(2) The sons of David in Jerusalem (vv. 3 - 7:)-
3- And David took more wives at Jerusalem: and David begat more sons and daughters. 4- Now these are the names of his children which he had in Jerusalem; Shammua, and Shobab, Nathan, and Solomon, 5- And Ibhar, and Elishua, and Elpalet, 6- And Nogah, and Nepheg, and Japhia, 7- And Elishama, and Beeliada, and Eliphalet.
We explained these verses in (2 Sam 5:13-16), and in them we see God's blessing on David in the many sons and daughters born to him in Jerusalem. He is a type of Christ, who has many sons and daughters who have believed in Him in the whole world.
Be careful to adorn yourself with the virtues, which are counted as sons and daughters to you, so that through them you may sense God in your life and by them be made worthy to enter the Kingdom of Heaven. The closer you cling to God, the more virtues He bestows on you.