To condemn someone means to give them a specific punishment.
The judge condemned the criminal to five years in prison.
Example picture