Note 4 — Chapter IV
Reading edition
The promise is not inconsistent with the fact that Joshua's troops were defeated by the men of Ai. In such promises there is an implied condition of steadfast regard to God's will on the part of those who receive them, and this condition was violated at Ai, not by Joshua, indeed, but by one of his people.