Deuteronomy 23:5

5 However, the LORD your God would not listen to Balaam but turned the curse into a blessing for you, because the LORD your God loves you.

Read Deuteronomy 23:5 Using Other Translations

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.
But the LORD your God would not listen to Balaam; instead the LORD your God turned the curse into a blessing for you, because the LORD your God loved you.
But the LORD your God refused to listen to Balaam. He turned the intended curse into a blessing because the LORD your God loves you.