Deuteronomy 29:7

And when ye came unto this place, Sihon the king of Heshbon, and Og the king of Bashan, came out against us unto battle, and we smote them:

The overthrow of Sihon the king of Heshbon and Og the king of Bashan in battle belongs to the account of Israel renewing its covenant with the Lord. That covenant renewal stands as the pattern for renewing covenant with God now. Such renewal means removing stubbornness of heart.