Then you are to rise up from the ambush and take possession of the city, for Yahweh your God will give it into your hand. Bible see other translations

“take possession of the city.” The Hebrew word has the idea of “inherit” in it. The city of Ai, like the rest of the Promised Land, was Israel’s inheritance from God.

Commentary for: Joshua 8:7