put up with somebody/something phrasal verb ( see also ↑ put )
to accept an unpleasant situation or person without complaining:
She put up with his violent temper.
REGISTER
In written English, people usually prefer to use tolerate , which is more formal:
▪
They had to tolerate many hardships.