Ethics- proprietary account vs client account

Example. Goldman Sachs wants to buy a 100 000 shares for itself(proprietary trading) and 100 000 for its clients. Who takes precedence? Should Goldman buy for its clients first?

goldman does whatever they hell they want, as long as they have legal cover. ethics doesn’t matter.