It's called schadenfreude.
Schadenfreude (
/ˈʃɑːdənfrɔɪdə/; German:
[ˈʃaːdn̩ˌfʁɔʏ̯də] (
listen);
lit. 'harm-joy') is the experience of pleasure, joy, or self-satisfaction that comes from learning of or witnessing the troubles, failures, or humiliation of another.
Schadenfreude is a complex emotion, where rather than feeling sympathy towards someone's misfortune, schadenfreude evokes joyful feelings that take pleasure from watching someone fail. This emotion is displayed more in children than adults; however, adults also experience schadenfreude, though generally concealed.
[1]
Wikipedia