Rehoboam and the leaders of Judah had gone to Jerusalem to escape Shishak's invasion. And while they were there, Shemaiah the prophet told them, “The LORD says that because you have disobeyed him, he has now abandoned you. The LORD will not help you against Shishak!”
Moses and Aaron went to the king and told him that the LORD God of the Hebrews had said: How long will you stubbornly refuse to obey? Release my people so they can worship me.