2 You have asked for a solution of that famous passage which is everywhere interpreted in different senses, “Whosoever slays Cain will exact vengeance for seven sins.” Your question shows that you have yourself carefully observed the charge of Paul to Timothy, for you are obviously attentive to your reading. You have moreover roused me, old man that I am, dull alike from age and bodily infirmity, and from the many afflictions which have been stirred up round about me and have weighed down my life. Fervent in spirit as you are yourself, you are rousing me, now benumbed like a beast in his den, to some little wakefulness and vital energy. The passage in question may be interpreted simply and may also receive an elaborate explanation. The simpler, and one that may occur to any one off hand, is this: that Cain ought to suffer sevenfold punishment for his sins.
For it is not the part of a righteous judge to define requital on the principle of like for like, but the originator of evil must pay his debt with addition, if he is to be made better by punishment and render other men wiser by his example. Therefore, since it is ordained that Cain pay the penalty of his sin sevenfold, he who kills him, it is said, will discharge the sentence pronounced against him by the divine judgment. This is the sense that suggests itself to us on our first reading the passage.
Source: Letters (New Advent)