There can be a strategic long term play when it is valuable for you to "take shit" from an employer.
A perfect example is if you are trying to move up in a career, and your industry requires experience and a specific level of title before you'd be considered by employers you'd prefer to work for. If you don't have that experience and title, you simple won't even be considered by the employers you like. However, if there is a shitty employer that will give you the job and title (because they can't keep staff because they're shitty and have high turnover), then it may be worth it to "take shit" from the shitty employer for a year or so to gain the experience and ability to put that position on your resume to make yourself eligible for the good employers you like. Another good reason to work for one of these "taking shit" employers when you're moving up is you can make your mistakes here. Make your mistakes in your new position at a place you hate, so when you go to the place that treats you well, you perform much better because of your knowledge and experience.
Also, I've worked for some shitty employers because they pay significantly more than good employers (again because they have to because otherwise they can't keep staff). This should only be used as a short term play because that toxicity can damage you long term. You don't want to be a lifer at one of these places, but if you have a goal that requires more money, then working for one of these and "taking shit" from them may be worth it to achieve your personal long term goals.
If you're career driven, "taking shit" strategically can be valuable. Your co-workers who refuse to "take any shit" will likely continue to have their jobs, but they'll see themselves passed over for promotions and raises. They'll watch as you continue to rise in the organization, and see when you've learned what you needed and jumped ship to another employer that treats them well where they don't have to "take shit". They'll chalk up their lack of advancement to being unfairly passed over, while you are two to three promotions above them, making more money, having better/more interesting work, and "taking less shit" than them.