stick it out

Intermedio alto (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."