2 Chronicles 12:6

So the leaders of Israel and the king humbled themselves; and they said, "The LORD is righteous."

Surrounding context

12:5 Then Shemaiah the prophet came to Rehoboam and the leaders of Judah, who were gathered together in Jerusalem because of Shishak, and said to them, "Thus says the LORD: "You have forsaken Me, and therefore I also have left you in the hand of Shishak."'

12:6 So the leaders of Israel and the king humbled themselves; and they said, "The LORD is righteous."

12:7 Now when the LORD saw that they humbled themselves, the word of the LORD came to Shemaiah, saying, "They have humbled themselves; therefore I will not destroy them, but I will grant them some deliverance. My wrath shall not be poured out on Jerusalem by the hand of Shishak.

Translation and sources