The Buddha taught some people the teachings of duality that help them avoid sin and acquire spiritual merit. To others he taught non-duality, that some find profoundly frightening.
There is pleasure when a sore is scratched, But to be without sores is more pleasurable still. Just so, there are pleasures in worldly desires, But to be without desires is more pleasurable still.