[A teaching] of R. Israel Baal Shem [Tov]:

“For My thoughts are not your thoughts, neither are your ways My ways.” (Isaiah 55:8) This means: the moment you separate yourself from God, you are worshipping idolatry. 1 There is no middle ground. This is the meaning of “you turn astray and you serve [other gods].” (Deuteronomy 11:16) 2

Nonetheless, the Talmud states (Makot 23b) that “he who refrains from committing a transgression, it is accounted to him as if had performed a mitzvah.” This is the meaning of “your ways are not My ways.” 3