Where did the comforting words like "I'm sorry for your loss" come from?

By the way, my condolences come from the Book of Rites under Tan Gong: "Mourning is the saddest thing; I'm deeply sorry for your loss. Read the gentleman at the beginning. "

Idiom: I'm sorry for your loss

Pinyin: JiāI shên biàn

Description: section: moderation; Change: events. Suppress sadness and adapt to change. Words used to express condolences to the families of the deceased.

Source: "Book of Rites Tan Gong Xia": "Mourning, mourning also; I'm deeply sorry for your loss. Read the gentleman at the beginning. "

For example, my brother is sorry for your loss and change. He saved Jin Yu. The Qing dynasty lost its name "West Lake Episode II Sprinkling Snow Hall".

Pinyin code: jasb

Usage: as predicate and object; Condolences to the families of the deceased.

English: I'm sorry for your loss