Deuteronomy 31:4

4 The Lord will deal with them as He did Sihon and Og, the kings of the Amorites, and their land when He destroyed them.[a]

Deuteronomy 31:4 Meaning and Commentary

Deuteronomy 31:4

And the Lord shall do unto them as he did unto Sihon, and to
Og, kings of the Amorites
Deliver them up into their hands; see the history of this in ( Numbers 21:10-35 ) ;

and unto the land of them whom he destroyed;
put them into the possession of the land of Canaan, as they were now in possession of the land of those two kings he destroyed by them. This instance is given to encourage their faith, assuring them that what had been done to them would be done to the Canaanitish kings, and their subjects, and their lands.

Deuteronomy 31:4 In-Context

2 saying, "I am now 120 years old; I can no longer act as your leader. The Lord has told me, 'You will not cross this Jordan.'
3 The Lord your God is the One who will cross ahead of you. He will destroy these nations before you, and you will drive them out. Joshua is the one who will cross ahead of you, as the Lord has said.
4 The Lord will deal with them as He did Sihon and Og, the kings of the Amorites, and their land when He destroyed them.
5 The Lord will deliver them over to you, and you must do to them exactly as I have commanded you.
6 Be strong and courageous; don't be terrified or afraid of them. For it is the Lord your God who goes with you; He will not leave you or forsake you."

Footnotes 1

Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.