CCC 2517 The heart is the seat of moral personality: “Out of the heart come evil thoughts, murder, adultery, fornication. .. ”1 The struggle against carnal covetousness entails purifying the heart and practicing temperance:
Remain simple and innocent, and you will be like little children who do not know the evil that destroys man’s life.2

1 Mt 15:19.
2 Pastor Hermae, Mandate 2, 1: PG 2, 916.