Buddhism believes that good and evil are not two separate things; there is no absolute distinction between the two. An evil deed cannot be considered an absolute. The Devadatta Chapter is known as the teaching that explains the attainment of enlightenment by evil people, and its philosophical background comes from the “non-duality of good and evil,” as understood in Buddhism.
Introduction to the Lotus Sutra