The book of Jonah states that after Ninevah was saved, Jonah left the city in irritation, built a hut, waited under its shade, and watched the city in the hopes that it would be razed. God then provided a gourd plant to give him shade. Said plant later dies, to Jonah's irritation, and leaves the sun to beat upon his head.
Why did Jonah need a plant, and why was the the sun beating down on his head, when he'd built a hut?
- Jonah then left the city for a place to the east of it, where he built himself a hut and waited under it in the shade, to see what would happen to the city.
- Then the LORD God provided a gourd plant. And when it grew up over Jonah’s head, giving shade that relieved him of any discomfort, Jonah was greatly delighted with the plant.
- But the next morning at dawn God provided a worm that attacked the plant, so that it withered.
- And when the sun arose, God provided a scorching east wind; and the sun beat upon Jonah’s head till he became faint. Then he wished for death, saying, “It is better for me to die than to live.” [Jonah 4:5-8] [A]