Bible Study Guide has the following interesting insight:
"The Bible contains some sarcasm or irony, which should not be considered unusual,
because sarcasm can be used to make a very graphic point. However, sarcasm can be
misinterpreted if the context is not read carefully, because sarcasm is usually carried in
the tone of voice, not in the words themselves.
“Attack and be victorious.” In 1 Kings 22:15 the king of Israel asked the prophet
Micaiah about going to war. “‘Attack and be victorious,’ he [Micaiah] answered, ‘for the
LORD will give it into the king’s hand.’” A careful reading of the context show that
Micaiah’s answer was sarcasm, and he did not mean it at all.
“The foolishness of preaching.” 1 Corinthians 1:21b says “…it pleased God by
the foolishness of preaching to save them that believe.” Preaching the Word of God is
never foolishness, but the context makes it clear that preaching seemed like foolishness to
those people who reject it (1 Cor. 1:18).
“You have become rich.” 1 Corinthians 4:8 says, “Already you have all you want!
Already you have become rich! You have become kings—and that without us!” This
sarcasm powerfully points out that the exact opposite was true of the Corinthians. They
were worldly (1 Cor. 3:3) and had many problems.
Jeremiah’s sarcasm. Jeremiah said, “Amen! May the LORD do so! May the LORD
fulfill the words you have prophesied by bringing the articles of the LORD’s house and
all the exiles back to this place from Babylon” (Jer. 28:6). Jeremiah spoke these words to
Hananiah the false prophet, but he was being sarcastic, something that is quite evident
from the context. God had told Jeremiah the captivity would last 70 years (Jer. 25:11),
while Hananiah was saying two years (Jer. 28:3)."