There is a common wisdom saying in data science...garbage in garbage out
The same applies to whether a specific person gains specific wisdom with age or not.
Some people become really talented increasingly doing so throughout their active lives. Our great scientists that educate, evolve knowledge, and explore have reached some incredible levels above the ordinary person reflected in their impressive writings. Actually rather common with our species communal ancestors was to defer important decisions to groups of respected elders they relied on because of their accumulated useful knowledge. More to the validity through current neuroscience would be, there are 300 million or so Pattern Recognizer's in the recent edition to mammal brains, the neocortex, each a functionally similar duplicated unit of maybe 90 nerve cells (among 100 billion with 100 trillion dendritic connections), that are not fully formed in our development until mid 20 year age. All are sort of empty at birth, ready to be filled by experience, learning, knowledge, of our lives. Both the wise and the stupid. The more one repeats via experience what is positive, good, the more through neuroplasticity, one potentially moves in the positive direction of general wisdom. Thus we are like an empty canvas to be filled during one's life. It may seem unfair that some are born so lucky while others hopeless but that is the natural process. It just IS.
So a flawed illogical foundation in early life, ignorant of math, science, and other human interpersonal wisdom, maybe isolated, devoid of favor, is more likely to produce a fool versus someone brought up in a wealthy privileged schooled complex environment. Interestingly, in this current era given the ability to save information on computers versus books with our recent ancestors, even we peons can stand on the accumulated shoulders of knowledge of those before. I'm ever reading current, up to date science on all manner of subjects I have interest in like no one else could have in earlier generations. Being wise at old age is about over decades filling one's brain to make it wiser.
The above noted, my own cooking wisdom rates in the dummy class.