Passage
And Yahweh will give them over before you, and you shall do to them according to all the commandments which I have commanded you.
And Yahweh will give them over before you, and you shall do to them according to all the commandments which I have commanded you.
Deuteronomy 31:3 It is Yahweh your God who will cross ahead of you; He will destroy these nations before you, and you shall dispossess them. Joshua is the one who will cross ahead of you, just as Yahweh has spoken.
Deuteronomy 31:4 And Yahweh will do to them just as He did to Sihon and Og, the kings of the Amorites, and to their land, when He destroyed them.
Deuteronomy 31:5 And Yahweh will give them over before you, and you shall do to them according to all the commandments which I have commanded you.
Deuteronomy 31:6 Be strong and courageous. Do not be afraid or be in dread of them, for Yahweh your God is the one who goes with you. He will not fail you or forsake you.”
Deuteronomy 31:7 Then Moses called to Joshua and said to him in the sight of all Israel, “Be strong and courageous, for you shall go with this people into the land which Yahweh has sworn to their fathers to give them, and you shall give it to them as an inheritance.
The verse centers on "yahweh", "give", "over", "before", "shall", "commandments", and "commanded". It is saying that the verse draws attention to "yahweh" and "give", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 4's "And Yahweh will do to them just..." into verse 6's "Be strong and courageous Do not be...", so "yahweh" and "give" belong inside that flow. In Deuteronomy context, the local focus is covenant, worship, and faithfulness.
A plain takeaway is to answer the verse's own emphasis on "yahweh" and "give" with trust shaped by these words, not by a vague optimism outside the passage.