(Exodus 33:12:) "And Moses said unto the LORD: See, You..." It is written (Psalms 77:6 [5]): "I have considered the days of old." The Congregation of Israel said before the Holy One, blessed be He: Master of the Universe, I sit and reckon after how many years You redeemed me from Egypt, after how many years You redeemed me from Greece. (Ibid., verse 11 [10]:) "This is my sickness, the years of the right hand of the Most High." Resh Lakish said: If they are sick, they can be healed.
Israel Reckons Her Redemptions and Resh Lakish on Healing
Midrash Tanchuma Buber, Ki Tisa 14:1
ויאמר משה אל ה' ראה אתה וגו' (שמות לג יב). כתיב חשבתי ימים מקדם (תהלים עז ו), אמרה כנסת ישראל לפני הקב"ה רבונו של עולם יושבת אני ומחשבת לכמה שנים גאלתני ממצרים, לכמה שנים גאלתני מיון, חלותי היא שנות ימין עליון (שם שם יב), אמר ריש לקיש אם חולים הם יכולים הם להתרפאות.