i.e. Forced Balaam to bless thee, who was hired and inclined to curse thee, if possibly he could.
Related Commentaries of Deuteronomy 23:5
Deuteronomy 23:5
5 Nevertheless the LORD thy God would not hearken unto Balaam; but the LORD thy God turned the curse into a blessing unto thee, because the LORD thy God loved thee.