Time helps to some degree, but I've worked with professionals who've earned a living for 30+ years, enjoy strong reputations among their peers, and who absolutely do not know what they're doing.