This isn't all or nothing. If you are in a position to do so, you can both advocate for yourself AND go to management with data suggesting that your coworkers are worth more. If you're in a leadership role, you have the opportunity and the duty to advocate for your coworkers.