It usually takes a long time to get given a good car in formula 1 though, so that can skew thing older. If you give a good driver a great car really really early you get LewisH and MaxV situations
Also if you get a good car in F1 and give good results you keep the car and it usually stays good or very competitive.
On other hand there is lot of value with experience and some patience, if you are mid-line team a experienced driver who can support the team and bring the car back in whole or even with some points race after race is not horrible investment.