Imp of the Perverse

Having a theory that "The Imp of the Perverse" causes people to commit acts against their self-interest, narrator of the story tries to explain a murder he did.