But Jeroboam had sent an ambush to attack from the rear, so Israel was in front of Judah, with the ambush set in place behind them. 