א"ר שמואל בר נחמני אמר רבי יונתן שלשה שאלו שלא כהוגן לשנים השיבוהו כהוגן לאחד השיבוהו שלא כהוגן ואלו הן אליעזר עבד אברהם ושאול בן קיש ויפתח הגלעדי אליעזר עבד אברהם דכתיב (בראשית כד, יד) והיה הנערה אשר אומר אליה הטי נא כדך וגו' יכול אפי' חיגרת אפי' סומא השיבו כהוגן ונזדמנה לו רבקה שאול בן קיש דכתיב (שמואל א יז, כה) והיה האיש אשר יכנו יעשרנו המלך עושר גדול ואת בתו יתן לו יכול אפי' עבד אפילו ממזר השיבו כהוגן ונזדמן לו דוד יפתח הגלעדי דכתיב (שופטים יא, לא) והיה היוצא אשר יצא מדלתי ביתי וגו' יכול אפילו דבר טמא השיבו שלא כהוגן נזדמנה לו בתו
As a preamble to the statement of Rabbi Berekhya, below, the Gemara cites that which Rabbi Shmuel bar Naḥmani said that Rabbi Yonatan said: Three people entreated God in an unreasonable manner, i.e., in situations where their requests might have received an unfavorable answer. To two of them God responded reasonably, with a favorable response to their requests, and to one God responded unreasonably, i.e., unfavorably, in a manner befitting the unreasonable request. And they are: Eliezer, servant of Abraham; Saul, son of Kish; and Jephthah the Gileadite. The Gemara clarifies each of these cases in turn: With regard to Eliezer, servant of Abraham, he made a request when he prayed beside the well, as it is written: “That the maiden to whom I shall say: Please let down your pitcher that I may drink; and she shall say: Drink, and I will also give your camels to drink; that she be the one whom you have appointed for your servant Isaac” (Genesis 24:14). Eliezer entreated God unreasonably, as his request allowed for the possibility that she might even be lame or even blind, and yet he had promised to take her to Isaac. Nevertheless, God responded to him reasonably and the eminently suitable Rebecca happened to come to him. With regard to Saul, son of Kish, he made an offer when Goliath the Philistine challenged the Jews, as it is written: “And it shall be that the man who kills him, the king will enrich him with great riches, and will give him his daughter” (I Samuel 17:25). The man who killed Goliath might even have been a slave or a mamzer, one born from an incestuous or adulterous union, who would be unfit to marry his daughter. Nevertheless, God responded to him reasonably and David happened to come to him. By contrast, there is the case of Jephthah the Gileadite. Upon leaving for battle he issued a statement, as it is written: “Then it shall be that whatever comes forth from the doors of my house to meet me when I return in peace…it shall be to the Lord and I will bring it up for a burnt-offering” (Judges 11:31). This might even have been an impure, non-kosher animal, which he had committed himself to sacrifice. In this instance, God responded to him unreasonably, and his daughter happened to come to him.