Midrash · Aggadah · Midrash Rabbah
Kohelet Rabbah 8:6/קוהלת רבה ח׳:ו׳
אכִּי לְכָל חֵפֶץ יֵשׁ עֵת וּלְכָל עֵת יֵשׁ חֵפֶץ, הֵיךְ מַה דְּבַר נָשׁ בָּעֵי עָבֵיד בְּהַאי עָלְמָא עָבֵיד, בְּרַם תַּמָּן דִּינָא וְחוּשְׁבָּנָא.
1“For every desire there is a time of judgment, as the evil of man overcomes him” (Ecclesiastes 8:6).“For every desire there is a time,” and for every time there is a desire. How so? What a person desires to do in this world, he does, but there, [in the World to Come,] there is judgment and accounting.