And the curse, if you will not hearken to the mitzvos of Hashem your God, and you turn aside from the way that I command you today, to go after other gods that you have not known.
English: “And you turn aside…” — From here they said: Anyone who acknowledges idolatry is as one who denies the entire Torah, and anyone who denies idolatry is as one who acknowledges the entire Torah.
On the daf / in context: The verse begins with the general failure to hearken to the mitzvos of Hashem and concludes specifically with turning after other gods. This juxtaposition teaches that the matter of idolatry is weighed against the entire Torah: affirming it is equivalent to denying everything, and rejecting it is equivalent to affirming everything.
Type of Learning
Derash on the verse (Sifrei) — equating the specific sin of idolatry with denial of the whole Torah through the structure of the passuk.
What Is Learned
Acknowledgment of idolatry is tantamount to denying the entire Torah; denial of idolatry is tantamount to affirming the entire Torah.