כאשר משה ניגש לפרעה על מנת לבקש ממנו לשחרר את עמו, פרעה מסרב. משה מאיים עליו שיהוה ינקום. יהוה אומר למשה שפרעה יסרב לשחרר את עמו ולכן הוא יפיל עליו 10 מכות עד שישתכנע לשחרר את עם ישראל. דם, צפרדע, כינים, ערוב, דבר, שחין, ברד, ארבה וחושך. המכה האחרונה הייתה הקשה מכולן - מכת בכורות.
יהוה פסח על כל בתי היהודים והטיל את המכה האחרונה רק על מצריים ואכן, לאחר מכה זה, פרעה ישתכנע ונתן להם ללכת.
(כט) וַיְהִ֣י ׀ בַּחֲצִ֣י הַלַּ֗יְלָה וַֽיהֹוָה֮ הִכָּ֣ה כׇל־בְּכוֹר֮ בְּאֶ֣רֶץ מִצְרַ֒יִם֒ מִבְּכֹ֤ר פַּרְעֹה֙ הַיֹּשֵׁ֣ב עַל־כִּסְא֔וֹ עַ֚ד בְּכ֣וֹר הַשְּׁבִ֔י אֲשֶׁ֖ר בְּבֵ֣ית הַבּ֑וֹר וְכֹ֖ל בְּכ֥וֹר בְּהֵמָֽה׃
(29) In the middle of the night יהוה struck down all the [male] first-born in the land of Egypt, from the first-born of Pharaoh who sat on the throne to the first-born of the captive who was in the dungeon, and all the first-born of the cattle.
(ל) וַיָּ֨קׇם פַּרְעֹ֜ה לַ֗יְלָה ה֤וּא וְכׇל־עֲבָדָיו֙ וְכׇל־מִצְרַ֔יִם וַתְּהִ֛י צְעָקָ֥ה גְדֹלָ֖ה בְּמִצְרָ֑יִם כִּֽי־אֵ֣ין בַּ֔יִת אֲשֶׁ֥ר אֵֽין־שָׁ֖ם מֵֽת׃
(30) And Pharaoh arose in the night, with all his courtiers and all the Egyptians—because there was a loud cry in Egypt; for there was no house where there was not someone dead.
עד בכור השבי. שֶׁהָיוּ שְׂמֵחִין לְאֵידָם שֶׁל יִשְׂרָאֵל; וְעוֹד, שֶׁלֹּא יֹאמְרוּ יִרְאָתֵנוּ הֵבִיאָה הַפֻּרְעָנוּת; וּבְכוֹר הַשִּׁפְחָה בִּכְלָל הָיָה, שֶׁהֲרֵי מָנָה מִן הֶחָשׁוּב שֶׁבְּכֻלָּן עַד הַפָּחוּת, וּבְכוֹר הַשִּׁפְחָה חָשׁוּב מִבְּכוֹר הַשְּׁבִי:
עד בכור השבי UNTO THE FIRSTBORN OF THE CAPTIVE — because they rejoiced at the misfortune of the Israelites (Midrash Tanchuma, Bo 7); and a further reason why they were slain is that they should not say, — if they remained alive — it was our god who brought punishment upon our oppressors, the Egyptians (Mekhilta d'Rabbi Yishmael 12:29) The firstborn of the handmaid, threatened with death in 40:5 but not mentioned here as having been slain, is included in those stated here to have been slain since it enumerates here (i. e. the terms used here are intended to include everyone) from the most important amongst all of them to the least important, and the firstborn of the handmaid as belonging to the Egyptian people, is certainly more important than the firstborn of the captive (cf. Rashi on 11:6).