stick it out

Intermédiaire supérieur (B2) informal

Stay with something hard and don't quit, even when you really want to.

"The first year of the degree was tough, but she decided to stick it out."