Deuteronomy 31:4 in the King James Version
And the LORD shall do unto them as he did to Sihon and to Og, kings of the Amorites, and unto the land of them, whom he destroyed.
Context
3 The LORD your God himself will go over before you. He will destroy these nations from before you, and you shall dispossess them. Joshua will go over before you, as the LORD has spoken.
4 The LORD will do to them as he did to Sihon and to Og, the kings of the Amorites, and to their land, when he destroyed them.
5 The LORD will deliver them up before you, and you shall do to them according to all the commandment which I have commanded you.