Yahweh will do to them what he did to Sihon and Og, the kings of the Amorites, and to their land, when he destroyed them.
In context
2He said to them: I am a hundred and twenty years old today; I am no longer able to go out and come in, and Yahweh has told me, “You will not cross this Jordan.” 3Yahweh your God himself will cross over ahead of you. He himself will destroy these nations before you, and you will dispossess them. Joshua will cross over ahead of you, as Yahweh has said. 4Yahweh will do to them what he did to Sihon and Og, the kings of the Amorites, and to their land, when he destroyed them. 5Yahweh will hand them over to you, and you are to do to them exactly as I have commanded you. 6Be strong and courageous. Do not be afraid or terrified of them, for Yahweh your God is the one who goes with you; he will not fail you or abandon you.