In 2 Chronicles 12, Rehoboam, the son of Solomon, reigns as king over Judah. However, he and the people forsake the law of the Lord, leading to their downfall. Because of their unfaithfulness, Shishak, the king of Egypt, attacks Jerusalem with a vast army. Recognizing their vulnerability, Rehoboam and the leaders of Judah humble themselves before the Lord, acknowledging their sin.
In response to their repentance, God sends Shemaiah, a prophet, to deliver a message. Shemaiah tells Rehoboam and the people that because they have humbled themselves, God will not utterly destroy them, but they will become servants to Shishak. The people accept this prophecy and submit themselves to the rule of Shishak.
Shishak takes away the treasures of the temple and the king's palace, including the gold shields that Solomon had made. Rehoboam replaces the shields with bronze ones and entrusts them to the care of the captains of the guard whenever the king goes to the house of the Lord. Despite these events, Rehoboam reigns for seventeen years, and during his reign, there is constant war between him and Jeroboam.
