And that software was also written to further the concerns and profits of an adTech company. Facebook may have allowed open sourcing non critical parts of its software - every major tech company does.
I’m not judging anyone for making an outsized salary for working at Facebook. Just be honest that you’re there for the money and not some high minded ideals.