Parshas Kedoshim · Passuk 19:31
Chabad.org — English translation + Rashi
Torah Temimah on Vayikra 19:31 · Yoma 39a parallel
Do not seek — Teaches that they come upon a person only if he turns his mind to them and becomes defiled through them.
Classical derasha (TT)
One who seeks impurity is given an opening; avoidance keeps the forces at bay.