I think both research and advocacy (both to governments and among individuals) are highly important, and it’s very unclear which is more important at the margin.
It’s too simple to say basic research is more important, because advocacy could lead to hugely increased funding for basic research.
Glassdoor rarely properly includes the top paid employees (those people don’t fill out the survey). According to Goldman’s own figures, mean compensation per employee (across all employees) is ~$400k. It’ll be significantly higher if you’re in front office. Your expected earnings from a Goldman job are roughly the mean earnings multiplied by the expected number of years you’ll stay at the firm.