Condemn (someone) to (something) negative verb phrase
To give someone a punishment.
He was condemned to 6 years in prison for corruption.
He was condemned to hang for murder.
Because of feeling guilty, she condemned herself to a life of unpleasantness.
The criminals were condemned to 2 years in prison
To punish someone or something harshly
Someone is going to receive a harsh punishment for what he or she has done something wrong.
To imprison someone forever or indefinitely
Small-time criminals will face the full consequences of the law while those who commit large-scale crimes will go unpunished.