But Rav Yehudah said that Rav said: The day is twelve hours. During the first three, the Holy One, blessed be He, sits and engages in Torah. During the second three, He sits and judges the entire world; when He sees that the world is liable to destruction, He rises from the throne of justice and sits upon the throne of mercy. During the third three, He sits and sustains the entire world, from the horns of wild oxen to the eggs of lice. During the fourth three, He sits and plays with the Leviathan, as it is said: "This Leviathan, whom You formed to play with" (Psalms 104:26). Rav Nachman bar Yitzchak said: He plays with His creatures, but He does not laugh at His creatures except on that day alone.
God Plays With Leviathan Every Afternoon
Avodah Zarah 3b
וְהָא אָמַר רַב יְהוּדָה אָמַר רַב: שְׁתֵּים עֶשְׂרֵה שָׁעוֹת הָוֵי הַיּוֹם, שָׁלֹשׁ הָרִאשׁוֹנוֹת — הַקָּדוֹשׁ בָּרוּךְ הוּא יוֹשֵׁב וְעוֹסֵק בַּתּוֹרָה, שְׁנִיּוֹת — יוֹשֵׁב וְדָן אֶת כָּל הָעוֹלָם כּוּלּוֹ, כֵּיוָן שֶׁרוֹאֶה שֶׁנִּתְחַיֵּיב עוֹלָם כְּלָיָיה — עוֹמֵד מִכִּסֵּא הַדִּין וְיוֹשֵׁב עַל כִּסֵּא רַחֲמִים. שְׁלִישִׁיּוֹת — יוֹשֵׁב וְזָן אֶת כָּל הָעוֹלָם כּוּלּוֹ מִקַּרְנֵי רֵאמִים עַד בֵּיצֵי כִנִּים, רְבִיעִיּוֹת — יוֹשֵׁב וּמְשַׂחֵק עִם לִוְיָתָן, שֶׁנֶּאֱמַר: ״לִוְיָתָן זֶה יָצַרְתָּ לְשַׂחֶק בּוֹ״, אָמַר רַב נַחְמָן בַּר יִצְחָק: עִם בְּרִיּוֹתָיו מְשַׂחֵק, וְעַל בְּרִיּוֹתָיו אֵינוֹ מְשַׂחֵק אֶלָּא אוֹתוֹ הַיּוֹם בִּלְבַד.