This is what Scripture says: "Hear, O My people, and I will speak; O Israel, and I will testify against you; I am God, your God" (Psalms 50:7). Rabbi Pinchas ben Chama said: "Hear, O My people, that I may speak" means that I may have an opening of the mouth to bring accusation against the princes of the nations of the world. "Hear, O My people, and I will speak" - Rabbi Yehudah son of Rabbi Simon said in the name of Rabbi Yehoshua ben Levi: In the past, Israel was your name; before you received the Torah, your name was like the names of the nations of the world, like Sheba and Havilah and Sabtah and Raamah (Genesis 10:7) - such was your name, Israel. Once you received the Torah, you became "My people," "Hear, O My people, and I will speak" (Psalms ibid.). One testifies only to one who listens: "Hear, O My people, and I will speak; O Israel, and I will testify against you" (ibid.). "I am God, your God" (ibid.) - Rabbi Yochanan and Resh Lakish. Rabbi Yochanan said: "I am God" means I am a judge; "your God" means I am your patron who upholds you. And Resh Lakish said: "I am God, your God" - I am your patron; just as the patron is of help before the court, so "I am God, your God." Rabbi Pinchas the priest, son of Chama, said: "I am God, your God" - to whom does He speak? He speaks to Moses. He said to him: Even though I called you a god, as it is said, "See, I have made you a god to Pharaoh" (Exodus 7:1), nevertheless "I am your God" (Psalms ibid.). Another interpretation: "I am God, your God" (ibid.) - our Rabbis say He speaks of judges. He said to them: Not because I called you gods, as it is said, "You shall not revile God [the judges]" (Exodus 22:27), nevertheless "I am your God" (Psalms ibid.). Rabbi Yehudah the Levite, son of Rabbi Shalom, said: He speaks of Israel. He said to them: Not because I called you gods, as it is said, "I said, you are gods" (Psalms 82:6), nevertheless "I am your God" (ibid. 50:7).
Hear My People The LORD Your Judge and Your Patron
Pesikta DeRav Kahana 12:23
[כג] זהו שא' הכת' שמעה עמי ואדברה ישראל ואעידה בך אלהים אלהיך אנכי (תהלים נ:ז). א"ר פנחס בן חמא שמעה עמי שאדברה, שיהא לי פתחון פה לקטרג לשרי אומות העולם. שמעה עמי ואדברה, א"ר יהוד' בר' סימון בשם ר' יהושע בן לוי לשעבר ישר' היה שמכם, עד שלא קבלתם את התורה כשמותן של אומות העולם, שבא וחוילה וסבתא ורעמא (בראשית י:ז), כן היה שמכם ישר', משקיבלתם את התורה עמי, שמעה עמי ואדברה (תהלים שם). אין מעידין אלא למי שומע, שמעה עמי ואדברה ישראל ואעידה בך (שם). אלהים אלהך אנכי (שם), ר' יוחנן ור' לקיש. ר' יוחנן אמ' אלהים אני, דיין אני. אלהיך אני, פטרונך אני מתקיים עליך. וריש לקיש א', אלהים אלהיך אנכי (שם), פטרונך אני, מה הפיטרון מועילה אצל הדין, אלהים אלהיך אנכי. ר' פנחס הכהן בן חמה א' אלהים אלהיך אנכי (שם), למי הוא מדבר, למשה הוא מדבר. אמ' לו, בשביל שקראתי אותך אלהים, שנ' ראה נתתיך אלהים לפרעה (שמות ז:א), אלא אלהיך אנכי (תהלים שם). ד"א אלהים אלהיך אנכי (שם), רבותינו או' בשופטי' מדבר. אמ' להם, לא משום שקראתי אתכם אלהות שנ' אלהים לא תקלל (שמות כב:כז), אלא אלהיך אנכי (תהלים שם). א"ר יהודה הלוי בר' שלום בישר' הוא מדבר. א' להם, לא בשביל שקראתי אתכם אלהים, שנ' אני אמרתי אלהים אתם (תהלים פב:ו), אלא אלהיך אנכי (שם נ:ז).