[Another interpretation of "Behold, the eye of the LORD is on those who fear Him":] This is Isaac. "On those who wait", for he was waiting in hope upon the Holy One, blessed be He. "To deliver their soul from death", for Ishmael sought to kill him, as it is said, "And Sarah saw the son of Hagar the Egyptian, making sport" (Genesis 21:9). And "making sport" means nothing other than killing, as it is said, "Let the young men now arise and play before us" (II Samuel 2:14). "And to keep them alive in famine", for the famine came in his days, as it is said, "And there was a famine in the land" (Genesis 26:1).
Isaac Who Waited on the Holy One Saved from Ishmael and Famine
Midrash Tanchuma Buber, Toldot 5:5
[ד"א הנה עין ה'], זה יצחק, למיחלים שהיה מיחל להקב"ה, להציל ממות נפשם, שבקש ישמעאל להורגו, שנאמר ותרא שרה את בן הגר המצרית מצחק (בראשית כא ט), ואין מצחק אלא הריגה, שנאמר יקומו נא הנערים וישחקו לפנינו (ש"ב ב יד), ולחיותם ברעב, שבא בימיו הרעב, שבא בימיו הרעב, שנאמר ויהי רעב בארץ.