2 Kings 8:19-20

8:19 But the Lord was unwilling to destroy Judah. He preserved Judah for the sake of his servant David to whom he had promised a perpetual dynasty.

8:20 During his reign Edom freed themselves from Judah’s control and set up their own king.