What does 2 Chronicles 21:7 mean?
But God didn't destroy Judah because of his promise to David, that he would always have a descendant ruling over Jerusalem. 2 Chronicles 21:7 - Modern Text Bible
(Despite Jehoram's evil, God kept his promise to David, preserving the royal line for the sake of his covenant.)