In America, the law says the President must be aged at least thirty-five so that appears to suggest a high level of life-skills can be learnt before forty.
Of course it can be learnt before 40. What would a 60 year old who has spent his/her life in the same village know that a 30 year old that has travelled the world wouldn't?