Reference for Sanhedrin 200:1
הוי אומר מדה טובה מרובה ממדת פורענות במדה טובה כתיב (תהלים עח, כג) ויצו שחקים ממעל ודלתי שמים פתח וימטר עליהם מן לאכול ובמידת פורענות הוא אומר (בראשית ז, יא) וארובות השמים נפתחו
Surely the measure of reward is greater than that of punishment, for with respect to the measure of goodness it is written, And he commanded the clouds from above, and opened the doors of heaven, And rained down manna upon them to eat;<span class="x" onmousemove="('comment',' Ps. LXXVIII, 23f. ');"><sup>1</sup></span> whilst of the measure of punishment it is written, And the windows of heaven were opened.<span class="x" onmousemove="('comment',' Gen. VII, 11; 'doors' implies a greater opening than 'windows': I.e., God metes out reward more fully than punishment. ');"><sup>2</sup></span>