Deuteronomy 23:5

5 and Jehovah thy God hath not been willing to hearken unto Balaam, and Jehovah thy God doth turn for thee the reviling to a blessing, because Jehovah thy God hath loved thee;

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 and a Moabite doth not enter into the assembly of Jehovah; even a tenth generation of them doth not enter into the assembly of Jehovah -- to the age;
4 because that they have not come before you with bread and with water in the way, in your coming out from Egypt, and because he hath hired against thee Balaam son of Beor, of Pethor of Aram-Naharaim, to revile thee
5 and Jehovah thy God hath not been willing to hearken unto Balaam, and Jehovah thy God doth turn for thee the reviling to a blessing, because Jehovah thy God hath loved thee;
6 thou dost not seek their peace and their good all thy days -- to the age.
7 `Thou dost not abominate an Edomite, for thy brother he [is]; thou dost not abominate an Egyptian, for a sojourner thou hast been in his land;
Young's Literal Translation is in the public domain.