After citing the halakha that one who eats a quantity of food that does not satisfy his hunger is obligated by rabbinic law to recite Grace after Meals, the Gemara cites a related homiletic interpretation. Rav Avira taught, sometimes he said it in the name of Rabbi Ami, and sometimes he said it in the name of Rabbi Asi: The ministering angels said before the Holy One, Blessed be He: Master of the Universe, in Your Torah it is written: “The great, mighty and awesome God who favors no one and takes no bribe” (Deuteronomy 10:17), yet You, nevertheless, show favor to Israel, as it is written: “The Lord shall show favor to you and give you peace” (Numbers 6:26). He replied to them: And how can I not show favor to Israel, as I wrote for them in the Torah: “And you shall eat and be satisfied, and bless the Lord your God” (Deuteronomy 8:10), meaning that there is no obligation to bless the Lord until one is satiated; yet they are exacting with themselves to recite Grace after Meals even if they have eaten as much as an olive-bulk or an egg-bulk. Since they go beyond the requirements of the law, they are worthy of favor.
Moses instituted for Israel the first blessing of: Who feeds all, when the manna descended for them and they needed to thank God.
Joshua instituted the blessing of the land when they entered Eretz Yisrael.
David and Solomon instituted the third blessing: Who builds Jerusalem, in the following manner:
David instituted “…on Israel Your people and on Jerusalem Your city…” as he conquered the city,
and Solomon instituted “…on the great and Holy Temple…” as he was the one who built the Temple.
They instituted the blessing: Who is good and does good, at Yavne in reference to the slain Jews of the city of Beitar at the culmination of the bar Kokheva rebellion. They were ultimately brought to burial after a period during which Hadrian refused to permit their burial. As Rav Mattana said: On the same day that the slain of Beitar were brought to burial, they instituted the blessing: Who is good and does good, at Yavne. Who is good, thanking God that the corpses did not decompose while awaiting burial, and does good, thanking God that they were ultimately brought to burial.

