misery
In addition to the idiom beginning with misery, also see put someone out of his or her misery.