Cao Xueqin's writing of 'Dream of the Red Chamber' was closely related to his background. According to legend, Cao Xueqin was an official in the Qing Dynasty. His family declined due to political reasons at the end of the Qing Dynasty. Cao Xueqin had once held an official position, but due to various reasons, he gradually resigned and began to write 'Dream of the Red Chamber'. In the process of writing 'Dream of the Red Chamber', Cao Xueqin had gone through a lot of hard work. He spent a lot of time and energy studying the customs and culture of ancient society and enriched the plot and characters in the novel through personal experience and observation. 'Dream of the Red Chamber' was an important classic of Chinese literature and was hailed as the pinnacle of ancient Chinese novels. Its creation was closely related to Cao Xueqin's life experience and also reflected his deep thinking and love for ancient society and culture.