David's other wives also gave birth to sons. Tamar was his daughter.
After David left Hebron and moved to Jerusalem, he married many women from Jerusalem, and he had a lot of children.
The LORD has blessed me with many sons, but he chose my son Solomon to be the next king of Israel.
Solomon's descendants included the following kings: Rehoboam, Abijah, Asa, Jehoshaphat, Jehoram, Ahaziah, Joash, Amaziah, Azariah, Jotham, Ahaz, Hezekiah, Manasseh, Amon, and Josiah and his four sons, Johanan, Jehoiakim, Zedekiah, and Jehoahaz.