But Jeroboam caused an ambushment to come around them from behind, so his troops were before Judah and the ambush behind.