Deuteronomy 11:28 in the King James Version
And a curse, if ye will not obey the commandments of the LORD your God, but turn aside out of the way which I command you this day, to go after other gods, which ye have not known.
Context
27 the blessing, if you listen to the commandments of the LORD your God, which I command you today;
28 and the curse, if you do not listen to the commandments of the LORD your God, but turn away out of the way which I command you today, to go after other gods which you have not known.
29 It shall happen, when the LORD your God brings you into the land that you go to possess, that you shall set the blessing on Mount Gerizim, and the curse on Mount Ebal.