The word "heart" here is a metonym for the thoughts and feelings of the person. This generic noun phrase refers to any perverse person or people. Alternate translation: "Perverse people" (See: [[rc://en/ta/man/jit/figs-metonymy]] and [[rc://en/ta/man/jit/figs-genericnoun]])