A lot of wisdom literature is sort of like, life's a bitch so just enjoy it while you can, and that's where you get some of the sayings outofJob and the Proverbs.
Fear that mentoring a female subordinate will automatically lead to suspicions of canoodling is, in certain cases, even shutting women outofjob opportunities entirely.