It may seem unlikely, but he started out as a soldier in the Tang Dynasty (8th Century A.D.), became a mighty general, rose to become one China’s greatest military figures, and ended up as a God having nothing to do with any of that at all.
It seems that ZHI-NU, the Goddess of Weaving, dropped in one afternoon as he was celebrating her feast day. Tired of wars and wanting to settle down, he asked her for riches and happiness.
She was happy to oblige — and gave him Godly status and honor into the bargain. He is now very happy indeed, and spends most of his time in the company of fellow Happiness God FU-XING.