Although mostly famous for the prophet being swallowed by a fish, Jonah is about the tension between justice and mercy. Jonah wants strict justice for Nineveh and fears that God will change His mind and extend them mercy. That, indeed, is what happens and so Jonah asks God to take his life. God explains things to him through the vehicle of a tree and a worm.