2 In the fifth year of Rehoboam's reign their disloyalty to the Lord was punished. King Shishak of Egypt attacked Jerusalem
3 with an army of twelve hundred chariots, sixty thousand cavalry, and more soldiers than could be counted, including Libyan, Sukkite, and Ethiopian troops.
4 He captured the fortified cities of Judah and advanced as far as Jerusalem.
5 Shemaiah the prophet went to King Rehoboam and the Judean leaders who had gathered in Jerusalem to escape Shishak. He said to them, “This is the Lord's message to you: ‘You have abandoned me, so now I have abandoned you to Shishak.’”
6 The king and the leaders admitted that they had sinned, and they said, “What the Lord is doing is just.”
7 When the Lord saw this, he spoke again to Shemaiah and said to him, “Because they admit their sin, I will not destroy them. But when Shishak attacks, they will barely survive. Jerusalem will not feel the full force of my anger,
8 but Shishak will conquer them, and they will learn the difference between serving me and serving earthly rulers.”