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.