Have you ever experienced "buyer's remorse"? "Buyer's remorse" occurs when you realize that you have paid too much for something and you did not get enough value for your money.
I've seen something like buyer's remorse happen to people at the end of their lives. They suddenly realize that they have spent their lives investing in the wrong things. They gave themselves to things instead of people, their vocation instead of their family, material values instead of spiritual values. It is a pitiful thing to see someone come to the end of his or her life and realize that they have wasted it.
Someone has said that no one ever comes to the end of their life and says, "I wish I had spent more time at the office."
Wisdom is knowing how to value things and knowing the true worth of things in our lives.