Shemot / Exodus 10:1 · Drash
וַיֹּאמֶר יְהוָה אֶל־מֹשֶׁה בֹּא אֶל־פַּרְעֹה כִּי־אֲנִי הִכְבַּדְתִּי אֶת־לִבּוֹ וְאֶת־לֵב עֲבָדָיו לְמַעַן שִׁתִי אֹתֹתַי אֵלֶּה בְּקִרְבּוֹ׃
And the Eternal said to Moshe (Moses): "Come to Pharaoh, for I have made his heart heavy and the heart of his servants, so that I may set these signs of Mine in his midst,
Drash דְּרָשׁ
A heart like a liver
Someone warned once may not hear. Someone warned five times has already chosen. The midrash argues: was Pharaoh's choice taken from him, or did he close his heart himself?
Shemot Rabbah: Rabbi Yochanan fears that heretics will say Pharaoh had no chance to repent. Rabbi Shimon ben Lakish answers: the Eternal warns a person three times, and if he does not return, He locks his heart, to exact payment from him. Pharaoh did not listen five times, and then the Eternal said: "you made your heart heavy yourself, I will add to it." His heart became like a liver, into which nothing enters as it cooks.
How Shemot Rabbah explain it
Shemot Rabbah
Another explanation. "For I have made his heart heavy." Rabbi Yochanan said: from here the heretics have an opening to say: it was not in his power to repent, for it says: "for I have made his heart heavy." Rabbi Shimon ben Lakish said to him: may the mouths of the heretics be shut! Rather, it says: "If it concerns the scorners, He scorns them" (Mishlei / Proverbs 3:34). The Holy One, blessed is He, warns a person once, a second time and a third, and he does not turn back, and then He locks his heart against repentance, in order to exact payment from him for what he sinned.
So too wicked Pharaoh. The Holy One, blessed is He, sent to him five times, and he paid no heed to His words. The Holy One, blessed is He, said to him: "You have stiffened your neck and made your heart heavy, behold, I add impurity to your impurity." That is: "for I have made his heart heavy."
What is "I have made heavy" (הִכְבַּדְתִּי)? The Holy One, blessed is He, made his heart like this liver (כָּבֵד): it is cooked a second time, and nothing enters into it. So Pharaoh's heart became like this liver, and he did not accept the words of the Holy One, blessed is He. That is: "for I have made his heart heavy," and so on.
Takeaway
"I have made heavy" (הִכְבַּדְתִּי) and "liver" (כָּבֵד) share one root with the letters kaf (כ), bet (ב), dalet (ד). The midrash reads "a heavy heart" as "a liver-heart".
Five times Pharaoh hardened his own heart: at the blood, the frogs, the lice, the wild beasts and the pestilence (Shemot / Exodus 7:22, 8:11, 8:15, 8:28, 9:7). Only then does it say the Eternal does it (9:12).
Rabbi Shimon ben Lakish, Reish Lakish, debated Rabbi Yochanan in the Land of Israel in the 3rd century. They studied together, and Reish Lakish was married to Rabbi Yochanan's sister (Bava Metzia 84a).