Ling and Ping were both important people at the time, although due to a lack of greed and wanting power they ended up under a curse in which both were condemned to be locked in a teapot, becoming servants of whoever had it. Forced to fulfill wishes and share wisdom.