Wisdom comes from the many years of experiencing things and being aware, awake and watchful when they happen.
Also of course listening to wise people, but it is the many years of experience that enables you to be able to quickly tell who is wise and who is unwise.
You need to understand things so they cannot control you.