"And He saw that they were in distress when He heard their cry." Rabbi Elazar said: Israel is redeemed only through five things: through distress, through prayer, through the merit of the fathers, through repentance, and through the end (meaning the Messianic era). Through distress, as it says, "And He saw that they were in distress." Through prayer, as it says, "When He heard their cry."
Through the merit of the fathers, as it says, "And He remembered His covenant with them." Through repentance, as it says, "He was appeased by my great kindness." Through the end, as it says, "Save us, O Lord our God, and gather us from among the nations" (Psalms 106:47). And even Moses included them all in one verse, as it says, "When you are in distress and all these things have come upon you" (Deuteronomy 4:30).
Be blessed, O Lord God of Israel, from this world to the next. From the time that we were in Him until now, blessed be He. Rabbi Elazar said in the name of Rabbi Yose ben Zimra: 'Amen' is an oath, 'Amen' is acceptance, as it says in Psalm 41:14, "All who respond 'Amen' in the world, etc."