What does Joshua 8:2 mean?
Then the Lord said to Joshua, 'Don’t be afraid or discouraged. Take all the soldiers with you and go attack Ai. I’ve handed the king of Ai, his people, his city, and his land over to you.' Joshua 8:2 - Modern Text Bible
(God reassures Joshua that, now that the sin has been dealt with, victory is possible. He promises success.)