From the New King James Version:
Listen to counsel and receive instruction,
That you may be wise in your latter days.
There are many plans in a man’s heart,
Nevertheless the Lord’s counsel—that will stand.
The Message renders it this way:
Take good counsel and accept correction—
that’s the way to live wisely and well.
We humans keep brainstorming options and plans,
but God’s purpose prevails.