Considering how Mayer absolutely cratered Yahoo I'd take her advice with a grain of salt. Quarterly operating profit dropped by more than 50% during her tenure and she was the driving force behind the acquisition of dozens of worthless companies leading to the write-off of billions of dollars in goodwill value.
"When management with a reputation for brilliance tackles a business with a reputation for bad economics, it is the reputation of the business that remains intact." -- Warren Buffett.