терпи, казак, атаман будешь!

Терпи, казак, атаман будешь! и
Терпи, казак, атаманом будешь!

Used as words of encouragement to mean you have to be patient and wait or withstand pain / discomfort knowing that it will get better in the future.

см.
[bite the bullet]
[stick it out]
Never say die.
≅ It's a great life if you don't weaken.

Ср.
Плох тот солдат, который не мечтает быть генералом.
Терпение и труд все перетрут.