From Latina condolere (“‘to sympathize’”), from Latina con- (“‘together, with’”) + dolere (“‘hurt, suffer, have pain’”).
condolence (condolences)