For IB, sure. But are most GS employees traders? It looks like most of the support staff is in the $20-30k range[0], which includes help desk and the like. Even certain analyst positions seem to be in the $45-50k range. On page ten of ascending salaries I've just barely passed $60k.
My point is that while the "average" compensation may be $400k, that's going to account for a very small percentage of the employees. The median is probably well below $100k, dependent largely on just how many support staff there are compared to traders. And even the traders who only last a year or two before getting fired will probably only make $100-150k.
[0] https://www.glassdoor.com/Salary/Goldman-Sachs-Salaries-E280...