[(Genesis 14:1:) AND IT CAME TO PASS IN THE DAYS OF AMRAPHEL.] Thus did Rabbi Tanchuma bar Abba begin: "THE WICKED HAVE DRAWN A SWORD, etc.... THEIR SWORD SHALL ENTER THEIR OWN HEART" (Psalms 37:14-15). What is the meaning of "THE WICKED HAVE DRAWN A SWORD"? This is Cain, for until then there had been no killer in the world; but Cain came and opened with killing, as it is said, "AND CAIN ROSE UP [AGAINST ABEL HIS BROTHER AND KILLED HIM]" (Genesis 4:8). The Holy One, blessed be He, said to him: Wicked one, you have opened with the sword in the world. "THE WICKED HAVE DRAWN A SWORD"—this is Cain. "TO BRING DOWN THE POOR AND NEEDY"—this is Abel. The Holy One, blessed be He, said to him: You have opened the sword in the world; the sword shall enter the heart of that same man. "THEIR SWORD SHALL ENTER THEIR OWN HEART" (Psalms 37:15).
Cain the First to Draw the Sword in the Days of Amraphel
Midrash Tanchuma Buber, Lech Lecha 7:1
]ויהי בימי אמרפל]. כך פתח ר' תנחומא בר אבא, הרב פתחו רשעים וגו', חרבם תבא בלבם (תהלים לז יד טו), מהו חרב פתחו רשעים, זהו קין שעד עכשיו לא היה הורג בעולם, ובא קין ופתח בהריגה, שנאמר ויקם קין [אל הבל אחיו ויהרגהו] (בראשית ד ח), א"ל הקב"ה רשע בחרב פתחת בעולם, חרב פתחו רשעים, זה קין, להפיל עני ואביון, זה הבל, אמר ליה הקב"ה אתה פתחת חרב בעולם תבא החרב בלבו של אותו האיש, חרבם תבא בלבם.