Are there any examples in the Bible of God having a sense of humor?
Consider Psalm 37:12-13: “The wicked plot against the righteous, and gnash their teeth at them; but the Lord laughs at the wicked, for he sees that their day is coming.”
Those who hope in the Lord will inherit the land and the Lord knows the wicked face His Judgment.
12 And I saw the dead, small and great, stand before God; and the books were opened: and another book was opened, which is the book of life: and the dead were judged out of those things which were written in the books, according to their works.
13 And the sea gave up the dead which were in it; and death and hell delivered up the dead which were in them: and they were judged every man according to their works.
14 And death and hell were cast into the lake of fire. This is the second death.
15 And whosoever was not found written in the book of life was cast into the lake of fire.
God directs the same kind of laughter towards those who think their power exceeds his.
2 The kings of the earth set themselves, and the rulers take counsel together, against the Lord, and against his anointed, saying,
3 Let us break their bands asunder, and cast away their cords from us.
4 He that sitteth in the heavens shall laugh: the Lord shall have them in derision.
Zephaniah 3:17 illustrates joy, a different aspect of God’s laughter and character, one more consistently expressed throughout the Biblical text: The verse reveals God’s delight can entail joyful songs and public dancing.
17 The Lord thy God in the midst of thee is mighty; he will save, he will rejoice over thee with joy; he will rest in his love, he will joy over thee with singing.
Biblical Humor Through Innuendo
Consider Genesis 18:10-15, wherein God informs Abraham and Sarah they will have a son by “this time next year” (v. 10). Sarah openly laughs, thinking she is worn out and now will have sexual pleasure again (v. 11). After all, she is about 89! We learn later that Abraham, about 99, also thought along sexual lines. He believed God could give him and Sarah descendants and make them parents even though he—as a man—was “as good as dead” (Hebrews 11:11-12). The idea of fathering a child at his age struck him as funny.