The concept of `传宗接代` is deeply embedded in Chinese society and is a cornerstone of understanding traditional family values.
Confucianism and Filial Piety (孝, xiào): The primary philosophical driver is filial piety. The influential philosopher Mencius famously stated, “不孝有三,无后为大” (bú xiào yǒu sān, wú hòu wéi dà), which means “There are three acts of unfilial piety, and the worst is to have no descendants.” For centuries, this shaped marriage and family life. Having a son to carry on the lineage was seen as the ultimate act of respect and duty towards one's parents and ancestors.
Patriarchal Lineage: Traditionally, only a male heir could carry the family name, inherit ancestral property, and, most importantly, perform the rites of ancestor worship (e.g., tending to graves during the Qingming Festival). Daughters would marry into their husband's family and were expected to help continue their husband's lineage. This is the root of the traditional preference for sons, a phenomenon known as `重男轻女 (zhòng nán qīng nǚ)`.
Comparison to Western Culture: In the West, “carrying on the family name” exists, but it's often a point of mild pride or nostalgia rather than a profound moral or spiritual obligation. A couple might hope for a son to carry on the surname, but it's rarely seen as their primary purpose for getting married or as a failure if they only have daughters. For `传宗接代`, the pressure was immense and framed as a sacred duty to the entire clan, living and dead. It was less about personal choice and more about fulfilling a collective, multi-generational responsibility.