Proverbs 2 commends the value of wisdom, and ends with a prediction about the very different fates of upright compared with the wicked:[1]
and those with integrity will remain in it, but the wicked will be cut off from the land, and the treacherous will be rooted out of it.