Parallel
Deuteronomy 23:6
Brenton's English Septuagint · Berean Standard Bible
But the Lord thy God would not hearken to Balaam; and the Lord thy God changed the curses into blessings, because the Lord thy God loved thee.
You are not to seek peace or prosperity from them as long as you live.