Ambush And When in the ASV
2 verses of the American Standard Version have both "ambush" and "when".
Joshua 8:14 And it came to pass, when the king of Ai saw it, that they hasted and rose up early, and the men of the city went out against Israel to battle, he and all his people, at the time appointed, before the Arabah; but he knew not that there was an ambush against him behind the city.
Joshua 8:21 And when Joshua and all Israel saw that the ambush had taken the city, and that the smoke of the city ascended, then they turned again, and slew the men of Ai.
Often found with
ai + when · city + when · israel + when · men + when · saw + when