Contradiction with 1 Kings 15:5
States that David did what was right in the eyes of the Lord and did not turn aside from anything that He commanded all his life, except in the matter of Uriah the Hittite, implying David’s house would not be "made like the house of Jeroboam and the house of Baasha" as in 2 Kings 9:9.
1 Kings 15:5: Because David did [that which was] right in the eyes of the LORD, and turned not aside from any [thing] that he commanded him all the days of his life, save only in the matter of Uriah the Hittite.
Contradiction with 2 Kings 19:34
God promises to defend Jerusalem for His own sake and for the sake of David His servant, showing favor to David’s legacy, unlike the destruction prophesied in 2 Kings 9:9 for Ahab’s house.
2 Kings 19:34: For I will defend this city, to save it, for mine own sake, and for my servant David's sake.
Contradiction with 2 Chronicles 7:18
God promises to establish the throne of David, implying a lasting dynasty, contrary to the destruction of a royal house as in 2 Kings 9:9.
2 Chronicles 7:18: Then will I stablish the throne of thy kingdom, according as I have covenanted with David thy father, saying, There shall not fail thee a man [to be] ruler in Israel. [There...: Heb. There shall not be cut off to thee]
Paradox #1
The contradiction or inconsistency could be related to the idea of divine justice, where the violent punishment or destruction ordered by God might conflict with contemporary views on morality and compassion. People might question why a loving and forgiving God would choose such harsh actions.