I still think it had to be done. The activists wanted to turn the company into a tool for advancing a fringe political agenda, even if unprofitable No leadership group can or should tolerate that kind of hijacking.
It'd have been better for this culture war not to have started at all. But once the activists started it, it became an existential imperative for Google to finish it --- which it did.
Microsoft's still playing their old games FYI, they have not shaken their prior reputation (esp. with their abhorent behaviour at Linuxfest Northwest 3 or 4 years ago), and they've essentially scuttled QA (hence certain Win10 updates deleting your files, among other recent bugs). There was a recent push to gut the MS Partner program's benefits, which had predictable results. IMO they are using Oracle's business model currently, albeit with a few thousand extra developers.