2 Because they had been unfaithful to the Lord, Shishak king of Egypt attacked Jerusalem in the fifth year of King Rehoboam.
3 With twelve hundred chariots and sixty thousand horsemen and the innumerable troops of Libyans, Sukkites and Cushites that came with him from Egypt,
4 he captured the fortified cities of Judah and came as far as Jerusalem.
5 Then the prophet Shemaiah came to Rehoboam and to the leaders of Judah who had assembled in Jerusalem for fear of Shishak, and he said to them, “This is what the Lord says, ‘You have abandoned me; therefore, I now abandon you to Shishak.’ ”
6 The leaders of Israel and the king humbled themselves and said, “The Lord is just.”
7 When the Lord saw that they humbled themselves, this word of the Lord came to Shemaiah: “Since they have humbled themselves, I will not destroy them but will soon give them deliverance. My wrath will not be poured out on Jerusalem through Shishak.
8 They will, however, become subject to him, so that they may learn the difference between serving me and serving the kings of other lands.”