When Jesus ascended into heaven, He promised to send us another Advocate. That Advocate is the Holy Spirit, which descended on the disciples at Pentecost and is sealed in each one of us at our Confirmation. The Holy Spirit does not give us magical powers or compel us to act in certain ways against our will. However, the Spirit does give us gifts that we can accept and nurture as we try to become more like Christ.
Wisdom is a gift of the Holy Spirit, but we should remind ourselves every day that the Wisdom the Spirit offers us is different than the wisdom of this world. The wisdom of this world tells us to be opportunistic, to boast, to take advantage of others, to put ourselves first, to seek power. This "wisdom" is foolishness to God.
So with old age is wisdom,
and with length of days understanding.