After the parable of eagles, cedar trees and vines in chapter 17, God goes on to correct a misunderstanding among the exiles. They had a proverb to the effect that their current sad situation was a result of the sins of their fathers. God assures them that He is just and sets consequences appropriate to the behavior of each one. He says that the wicked shall perish for their own sins and that those who repent will be spared.