Some people think that before becoming a god , he was a Chinese hermit and a reincarnation of a Taoist god .
According to some , before attaining divinity , he was a Chinese hermit of the Song Dynasty and a reincarnation of the Taoist god Xuanwu .