Solomon found out what Ahijah told Jeroboam, so he tried to kill Jeroboam. But Jeroboam escaped and went to Egypt. He went to Shishak, the king of Egypt, and stayed with him until after Solomon died.