and you shall rise up from the ambush, and take possession of the city: for Yahweh your God will deliver it into your hand.
for the Lord your God will deliver it into your hand; Joshua expresses himself with great confidence, having the promise of God, and relying on it.