"My mouth is enlarged over my enemies, because I rejoice in Your salvation" (1 Samuel 2:1). Rabbi Abbahu said: This is one of the verses that speaks of the salvation of the Holy One, blessed be He, and of the salvation of Israel. Rabbi Pinchas in the name of Rabbi Yitzchak: They were called divine beings, as it is said, "I said, you are gods" (Psalms 82:6) — and [it speaks] of the salvation of the Holy One, blessed be He. Rabbi Pinchas in the name of Rabbi Levi: "I will show him the salvation of God" (Psalms 50:23); "to see the good of Your chosen ones" (Psalms 106:5); "Before Ephraim and Benjamin and Manasseh, stir up Your might, and come for our salvation" (Psalms 80:3).
Hannah's Salvation Verse and the Salvation of the Holy One
Midrash Shmuel 4:4
רחב פי על אויבי כי שמחתי בישועתך. אמר רבי אבהו זה אחד מן המקראות שהוא לישועתו של הקדוש ברוך הוא ולישועתן של ישראל. רבי פנחס בשם רבי יצחק נקראו אלוהות אני אמרתי אלהים אתם וגו', ולישועתו של הקדוש ברוך הוא. רבי פנחס בשם רבי לוי אראנו בישע אלהים (תהלים נ' כ"ג), לראות בטובת בחירך וגו' (שם ק"ו ה'), לפני אפרים ובנימן ומנשה עוררה את גבורתך ולכה לישועתה לנו (תהלים פ' ג').