Who wrote it after he died wholeheartedly?

"Do your best, and die before you die" was written by Zhuge Liang. It means diligent, dedicated, and die. It is often used to describe those who have made great contributions to the country and people.

During the Three Kingdoms period, after the death of Liu Bei, the Lord of Shu, Liu Chan succeeded to the throne and handed over the domestic military and political power to Zhuge Liang. Zhuge Liang joined forces with Wu to attack Wei, conquered Meng Huo in the south and actively prepared for two northern expeditions. On the eve of the last Northern Expedition, he wrote a book "Later as an Example" to Liu Chan, expressing his feelings of dying for his country.

Relevant persons introduced:

Zhuge Liangzi Kongming, also known as Wolong (also known as Long Fu) and Yang Du, Xuzhou (now yinan county, Linyi City, Shandong Province), was the prime minister of Shu and Han during the Three Kingdoms period, an outstanding politician, strategist, essayist, calligrapher and inventor. When he was alive, he was named Hou of Wuxiang. After his death, he pursued loyalty to the marquis of Wuxiang. Because of its military ability, the Eastern Jin regime was posthumously named King Wu Xing.

Representative prose works include An Example and A Book of Commandments. He once invented the wooden ox, the flying horse, the Kongming lantern and so on, and transformed the crossbow, called Zhuge Lian crossbow, which can hit all targets with one crossbow. In the 12th year of Jianxing (234), he died in Wuzhangyuan (now Qishan, Baoji).

Liu Chan regarded him as a loyal minister, so later generations often referred to Zhuge Liang as a loyal minister and Zhuge Wuhou. Zhuge Liang, a representative of loyal ministers and wise men in China traditional culture, devoted himself to his life and died.