The adversary we talk about isn’t an imaginary monster - it is an influencer that reinforces what is already primal inside us. Freud called that primal drive the Id; in Islamic thought, it is Nafs al-Ammarah. Alongside it lives Nafs al-Mutmainna - the conscience that clearly knows right from wrong and pushes back.
Because those two opposing forces collide inside every human being, goodness still outweighs evil in the world. When impulse overrides conscience, mistakes happen - and paradoxically, recognizing your own flaws is often what humbles you and pulls you back toward truth and God.