Wiktionary
couldn't happen to a nicer
phr. (context idiomatic English) Sarcastically asserts that those in question thoroughly deserve their fate.