Li Bai's ancestral home is Ji Cheng (now Qin 'an County, Gansu Province). At the end of Sui Dynasty, he moved to Broken Leaf City in Central Asia (now near tokmak in northern Kyrgyzstan), where Li Bai was born. At the age of five, his family moved to Zhangming County, Mianzhou (now jiangyou city, Sichuan). At the age of 20, he left Sichuan alone and began to wander widely, reaching Xiangjiang River in Dongting in the south and wuyue in the east, and living in Anlu (now Anlu County, Hubei Province). He traveled around, hoping to make friends and pay homage to celebrities, so as to get an introduction, climb high in one fell swoop and realize his political ideals and ambitions. However, after ten years of wandering, I have accomplished nothing.
In the early years of Tianbao, on the recommendation of Taoist Wu Renyun, Emperor Xuanzong of the Tang Dynasty called him to Beijing and ordered him to worship the Hanlin. Soon, due to the remorse of the dignitaries, he was driven out of Beijing in Tianbao 34 (AD 744 or 745). Since then, he has been wandering in Jiang and Huai, and his thoughts are extremely boring. In the winter of the 14th year of Tianbao (AD 755), An Lushan rebelled. At this time, he lived in seclusion in Lushan Mountain, which coincided with the great army of Wang Yong and invited Li Bai down the mountain to enter the shogunate. Later, Li Lin rebelled against Su Zong and was eliminated. Li Bai was implicated and sentenced to exile in Yelang (now Guizhou Province). He was pardoned and released halfway from Xunyang (now Jiujiang, Jiangxi) to Xuancheng (now Xuancheng, Anhui). In the first year of Baoying (AD 762), Daizong died in dangtu county, Anhui.
Li Bai, with ups and downs and complicated thoughts, is not only a talented poet, but also a ranger, assassin, hermit, Taoist priest and counselor. Confucianism, Taoism and Rangers are all reflected in him. "Retire after success" is the dominant thought that dominated his life.