IDIOMS

take one for the team

(idiomatic, informal) To accept some chore, hardship or punishment for the sake of one's friends or colleagues.