When Rehoboam had been ruling for almost five years, King Shishak of Egypt came with his army to attack Jerusalem.