Ezekiel was a prophet of God to the Jewish exiles in Babylon. Part of his mission was to remind the people that their disobedience to God was the reason they were now captives in a foreign land.
In Ezekiel chapter 15, God speaks this parable to the prophet:
Son of man, how is the wood of the vine better than any wood of a branch which is among the trees of the forest? Can wood be taken from it to make anything, or can men take a peg from it on which to hang any vessel? If…