Deuteronomy 23:5

5 Nevertheless the LORD your God wouldn't listen to Bil`am; but the LORD your God turned the curse into a blessing to you, because the LORD your God loved you.

Deuteronomy 23:5 Meaning and Commentary

Deuteronomy 23:5

Nevertheless, the Lord thy God would not hearken unto Balaam,
&c.] To his solicitations, and the methods he took to prevail on the Lord to suffer him to curse Israel, which he gladly would have done for the sake of Balak's reward:

but the Lord thy God turned the curse into a blessing unto thee;
in the very mouth of Balaam, as the Targum of Jonathan; for when he opened his mouth and Balak expected he would have cursed Israel, and he intended it, could he have been permitted, the Lord overruled his tongue, and put such words into his mouth, that instead of cursing Israel, he blessed him; see ( Numbers 23:11 ) ,

because the Lord thy God loved thee;
and therefore would not suffer them to be cursed; for whom the Lord loves they are blessed, and shall be so in time and to eternity.

Deuteronomy 23:5 In-Context

3 An `Ammonite or a Mo'avite shall not enter into the assembly of the LORD; even to the tenth generation shall none belonging to them enter into the assembly of the LORD forever:
4 because they didn't meet you with bread and with water in the way, when you came forth out of Mitzrayim, and because they hired against you Bil`am the son of Be'or from Petor of Aram-Naharayim, to curse you
5 Nevertheless the LORD your God wouldn't listen to Bil`am; but the LORD your God turned the curse into a blessing to you, because the LORD your God loved you.
6 You shall not seek their shalom nor their prosperity all your days forever.
7 You shall not abhor an Edomite; for he is your brother: you shall not abhor a Mitzrian, because you were a sojourner in his land.
The Hebrew Names Version is in the public domain.