How to use "punished" in a sentence

Sentences

A woman like this deserves to be punished.'

Mme Thenardier rushed across the room towards Cosette who, afraid that she would be punished, put the doll gently on the floor and began to cry.

'I told you that I do not like to see a man accused unjustly, but I do like to see a man punished for crimes he has committed.'

But Melchett had caught a murderer and he wanted his murderer punished

He must be punished," answers the magistrate.

They must be punished