cold comfort

[cold comfort] {n.} Something that makes a person in trouble feel very little better or even worse.

When Tim lost the race, it was cold comfort to him to hear that he could try again in two weeks.

Mary spent her vacation sick in bed and Jane's letter about her trip was cold comfort.