やめれば

if (someone) stops, if (someone) quits

→ やめる
やめ stop, quit + れば Conditional (“if”)
verb Rare #34,264
if (someone) stops, if (someone) quits
JA: 続けるのが難しければ、やめればいいです。
EN: If it’s difficult to keep going, you can quit.
Conjugation of やめる

仮に地球が自転をやめれば、どうなると思いますか。

What do you think would happen if the Earth stopped rotating?

万一考えることをやめれば、その人はもはや人間ではなくなるであろう。

If a person were to stop thinking, they would cease to be human.

十分な金をもらえないなら 仕事をやめればいいんだ

If you're not getting paid enough, you should quit your job.

— レザボア・ドッグス (1992)

やめれば よかった

I wish I had quit.

— 戦争と女の顔 (2019)

やめればいいんだ

I should just quit, right?

— いまを生きる (1989)