In the ending of the TV series Qing Yunzhi, Zhang Xiaofan was not with any female lead because the ending of the novel and the TV series were usually very different. Moreover, the plot of the novel was more complicated and imaginative. In the novel, Zhang Xiaofan finally chose to leave the mortal world and continue his cultivation. He was a practitioner with firm beliefs and noble qualities. His beliefs and actions also affected the people around him. In the end, he became a legendary figure and left behind a lot of wisdom about cultivation and human nature for future generations.