Something that drives away or relieves pain, sorrow, or grief; a source of comfort or solace.
From Latin dolor (pain/sorrow) + -fuge (putting to flight/driving away); an extremely rare term from learned 17th-18th century English.
Dolorifuge is so wonderfully obscure that it appears in almost no modern dictionaries—yet it perfectly captures how music, friendship, or work can actively chase away sorrow.
Complete word intelligence in one call. Free tier — 50 lookups/day.