And if you faithfully obey the voice of YHWH your God, being careful to do all his commandments that I command you today, YHWH your God will set you high above all the nations of the earth.
Deuteronomy 28:1

God's promises to Israel were given in conditional terms, but He also assured them that the conditions will be met one way or another. This verse says God will elevate Israel above all nations *if* they obey, but 26:18 says it *will* happen. Therefore, Israel *will* repent and return to God's Law someday.