2 Chronicles 12:1-16 NIV
After Rehoboam’s position as king was established and he had become strong, he and all Israel with him abandoned the law of the LORD. Because they had been unfaithful to the LORD, Shishak king of Egypt attacked Jerusalem in the fifth year of King Rehoboam. With twelve hundred chariots and sixty thousand horsemen and the innumerable troops of Libyans, Sukkites and Cushites that came with him from Egypt, he captured the fortified cities of Judah and came as far as Jerusalem.
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.’ ”
The leaders of Israel and the king humbled themselves and said, “The LORD is just.”
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. They will, however, become subject to him, so that they may learn the difference between serving me and serving the kings of other lands.”
When Shishak king of Egypt attacked Jerusalem, he carried off the treasures of the temple of the LORD and the treasures of the royal palace. He took everything, including the gold shields Solomon had made. So King Rehoboam made bronze shields to replace them and assigned these to the commanders of the guard on duty at the entrance to the royal palace. Whenever the king went to the LORD’s temple, the guards went with him, bearing the shields, and afterward they returned them to the guardroom.
Because Rehoboam humbled himself, the LORD’s anger turned from him, and he was not totally destroyed. Indeed, there was some good in Judah.
King Rehoboam established himself firmly in Jerusalem and continued as king. He was forty-one years old when he became king, and he reigned seventeen years in Jerusalem, the city the LORD had chosen out of all the tribes of Israel in which to put his Name. His mother’s name was Naamah; she was an Ammonite. He did evil because he had not set his heart on seeking the LORD.
As for the events of Rehoboam’s reign, from beginning to end, are they not written in the records of Shemaiah the prophet and of Iddo the seer that deal with genealogies? There was continual warfare between Rehoboam and Jeroboam. Rehoboam rested with his ancestors and was buried in the City of David. And Abijah his son succeeded him as king.
NIV: New International Version