Yahweh God prepared a vine, and made it to come up over Jonah, that it might be a shade over his head, to deliver him from his discomfort. So Jonah was exceedingly glad because of the vine.
And the LORD God prepared a gourd, and he made it to come up over Jonah, that it might give shadow over his head, to deliver him from his grief. So Jonah was very thankful for the gourd [because he was able to have some shade from that burning sun]. But then the LORD prepared a worm ( Jonah 4:6-7 )