Deuteronomy 23:5

YLT(i) 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;