5Then Shemaiah the prophet came to Rehoboam and the leaders of Judah who had gathered at Jerusalem because of Shishak, and he said to them, “This is what the LORD says: ‘You have forsaken Me; therefore, I have forsaken you into the hand of Shishak.’”
6So the leaders of Israel and the king humbled themselves and said, “The LORD is righteous.”
7When the LORD saw that they had humbled themselves, the word of the LORD came to Shemaiah, saying, “They have humbled themselves; I will not destroy them, but will soon grant them deliverance. My wrath will not be poured out on Jerusalem through Shishak.
— 2 Chronicles 12:5-7