ספר המדות, Mitigating Judgment / Part II Mitigating Judgment / Part II · ח
Sefer HaMiddot 724
ח. מִי שֶׁבּוֹעֵט בְּיִסּוּרִין, כְּאִלּוּ אוֹמֵר לָאֵל: סוּר מִמֶּנִּי.
8. One who rebels (lit. kicks) against suffering is as if he says to G-d, "Leave me!"