It is a vein of Taoism. He also had an affair with Lin Chaoying, the little dragon girl's grandparents, but all ended in vain.
At the end of "The Condor Heroes", monk Jue Yuan chased "The True Sutra of Jiuyang", followed by Zhang Junbao. At this time, Yang Guo also helped him win his opponent (there was a tidbit). After "Eternal Dragon Slayer", Zhang Junbao has established the Wutang School, becoming a master and a Taoist school. In China's strict religious system, Taoism is a native and nothing else.
Of course, these are all for novels. There is no such person in Wang Zhongyang in history, but there is one in Zhang Sanfeng (this point needs to be confirmed, thank you).
If you are satisfied with my answer, please choose, thank you, I appreciate it!