Shemot / Exodus 1:17
וַתִּירֶאןָ הַמְיַלְּדֹת אֶת־הָאֱלֹהִים וְלֹא עָשׂוּ כַּאֲשֶׁר דִּבֶּר אֲלֵיהֶן מֶלֶךְ מִצְרָיִם וַתְּחַיֶּיןָ אֶת־הַיְלָדִים׃
But the midwives feared the Almighty and did not do as the king of Egypt had told them, and they kept the boys alive.
Pshat פְּשָׁט
Not killing is not enough
Rashi: "kept alive" means more than "did not kill": the midwives supplied the children with water and food. Malbim: Pharaoh issued no decree, he only "spoke" with them and left the matter to them. So the babies' blood would have been on their conscience, and that is why they feared the Almighty. And they did not merely fail to do what the king said, they did the very opposite: they raised the children.
How Rashi and Malbim explain it
Remez רֶמֶז
One letter yod
Rashbam: here the letter yod (י) stands, and this is "fear". Without it, "vatirena", it would be "and they saw". Netziv: not only the two chief midwives feared, but all of them. That is why it says "the Almighty" (הָאֱלֹהִים), the Name of judgment, and not the Name "the Eternal" (יהוה): not all of them reached that level. What held them back was fear of punishment.
How Rashbam and Haamek Davar explain it
Drash דְּרָשׁ
As she spoke to Yosef
Midrash Lekach Tov: see how great the fear of Heaven is: the Torah testifies to it in the midwives, and Moshe and Yeshayahu (Isaiah) both call it the main thing. And Rabbi Yose bar Chanina teaches: "as he spoke" is the same word as "as she spoke to Yosef day after day". As there it was about sin, so here: Pharaoh pressed the midwives to sin, and they did not yield.
How Midrash Lekach Tov explain it
Sod סוֹד
Did not yield, not refused
Mei HaShiloach: "did not want to" means the desire was there and had to be overcome. "Did not yield" means the sin had no relation to them at all: whoever is truly bound to his root, temptation does not even enter. Shelah: the world stands on three things: Torah, service and acts of kindness. In Egypt they had three pillars: Moshe is Torah, Aharon (Aaron) is service, and Miryam is acts of kindness, for she "kept the children alive".
How Mei HaShiloach and Shnei Luchot HaBrit explain it