"And Moses cried out to the LORD, saying, What shall I do for this people?" (Exodus 17:4) - to make known the praise of Moses, that he did not say, Since they contend against me, I too will not seek mercy for them; but rather, What shall I do for this people? "They are almost ready to stone me." He said before Him: Master of the world, between You and them, behold I am as good as slain, since You said to me, Do not be strict against them, for You said to me, "Carry them in your bosom" (Numbers 11:12). Here the Holy One, blessed be He, lowers and Moses raises up; but in the affair of the calf the Holy One, blessed be He, raises up and Moses lowers.
Moses Cries Out for the People Who Would Stone Him
Mekhilta DeRabbi Shimon Ben Yochai 17:4
ויצעק משה אל ה' לאמור מה אעשה לעם הזה להודיע [שבחו] של משה שלא אמר הואיל והן מידיינין כנגדי אף אני איני מבקש עליהן רחמים אלא מה אעשה לעם הזה: עוד מעט וסקלוני. אמר לפניו [רבונו] של עולם בינך לבינם הרי אני הרוג שאמרת לי אל תקפיד כנגדן כי תאמר אלי שאהו בחיקך (במדבר י"א י"ב): כאן המקום ממיך ומשה מגביה אבל במעשה העגל המקום מגביה ומשה ממיך: