I've heard it as "a man becomes the average of his 5 closest confidantes."  Normally this means his wife, his best friend, his mentor, his mentee, and a close family member.  Of course this typically applies to married men in their 30s.