He keeps playing football despite all his injuries. I guess he's a 'glutton/sucker for punishment'. [=he is attracted to pain, suffering, difficulty, etc.]
These hiking boots are tough enough to take any amount of 'punishment'. [=the boots will not be ruined even if they are used very roughly]
The 'punishments' that the government has inflicted/imposed on the protesters are severe and unjust.
(..) You're asking us to say we're not Marines. If a court decides that what we did was wrong... then I'll accept whatever punishment they give. But I believe I was right, sir. I believe I did my job... and I will not dishonor myself, my unit or the Corps... so that I can go home (..)1992 A Few Good Men