I mean, Yahoo has essentially failed so there is no way to validate your or my claims, but I disagree very much with this. If Yahoo had focused on its core strengths versus its flipping and flopping between becoming a media company or not, I think it could have become great. They also lost quite a bit of their best talent due to policy changes, work changes, etc.
Honestly I still think there are ways to turn the ship around. It may never become as big as it was before but I see no reason it can't become profitable and stick around for a long time.