In one word: experience.
The more experience a person has, the more wiser he or she becomes.
We all get some experience, but some people just are designed for more experience.
If you won’t encounter the world, you won’t have a lot of experience.
There can’t be someone wise without experience as theoretical wisdom is not practical wisdom.