and the curse, if you do not listen to the commandments of Yahweh your God, but turn aside from the way I command you today, to follow other gods you have not known.
In context
26See, today I am setting before you a blessing and a curse: 27the blessing, if you listen to the commandments of Yahweh your God that I am giving you today, 28and the curse, if you do not listen to the commandments of Yahweh your God, but turn aside from the way I command you today, to follow other gods you have not known. 29When Yahweh your God brings you into the land you are entering to possess, you are to proclaim the blessing on Mount Gerizim and the curse on Mount Ebal. 30Are they not beyond the Jordan, west of the road, toward the setting sun, in the land of the Canaanites who live in the Arabah, opposite Gilgal, near the oaks of Moreh?