The Buddha taught every negative action arises from "the element of ignorance" rather than is performed by "the self". "You" did not perform the negative action. What performed the negative action was "the element of ignorance". This is the path of cleansing of Noble Practitioners.
Refer to suttas SN 45.1, SN 12.17, Dhp 172 & 173 & MN 115.