Joshua and the Israeli soldiers who were with him allowed the army of Ai to push them back. They ran toward the desert.