Genesis 12:3
2 Then I will make you into a great nation, and I will bless you, and I will make your name great, so that you will exemplify divine blessing. 3 I will bless those who bless you, but the one who treats you lightly I must curse, so that all the families of the earth may receive blessing through you.” 4 So Abram left, just as the Lord had told him to do, and Lot went with him. (Now Abram was 75 years old when he departed from Haran.)
Numbers 22:6
5 And he sent messengers to Balaam son of Beor at Pethor, which is by the Euphrates River in the land of Amaw, to summon him, saying, “Look, a nation has come out of Egypt. They cover the eye10 of the earth, and they are settling next to me. 6 So now, please come and curse this nation for me, for they are too powerful for me. Perhaps I will prevail so that we may conquer them and drive them out of the land. For I know that whoever you bless is blessed, and whoever you curse is cursed.” 7 So the elders of Moab and the elders of Midian departed with the fee for divination in their hands. They came to Balaam and reported to him the words of Balak.
Notes and References
"... “Whoever you'll bless will be blessed, and whoever you'll curse will be cursed.” Somewhat similar to Genesis 12:3 (J), this expression here is uncertain for source identification ..."
Friedman, Richard Elliott The Bible with Sources Revealed: A New View Into the Five Books of Moses (p. 281) Harper San Francisco, 2005