If this core mystery of the Christian faith (which I believe can never be truly articulated) is true, and that the Creator not only took part in the human drama, but suffered in that drama, perhaps we have an understanding and compassionate God, not one out to get us? Maybe it’s all good.
And so the writer of Jonah told a story of God’s expansive mercy for non-Israelites; in other words, maybe God cares for other people too. And the author used as his illustration a clearly fictionalized account of their long-gone ancient foe to express his newfound belief, or at least hope, that God is more inclusive than they were giving God credit for.
To put it in Christian terms, wisdom is what forms us to be more like Jesus, who, as the apostle Paul put it, became for us wisdom from God (1 Cor. 1: 30). Shepherding us toward wisdom, kicking and screaming if need be: that is the Bible’s purpose.