Read this sentence from the passage:

“His heart had stopped beating, condemning him to almost certain death.”

In this sentence, the word condemning means

rewarding for good behavior

examining very carefully

sentencing to punishment

extending help to someone

sentencing to punishment