Roedd Josua eisoes wedi anfon pum mil o ddynion i guddio i'r gorllewin o'r dref, rhwng Bethel ac Ai.