Simply put, through moral transformation (jiaohua), good magistrates bring about sympathetic responses from the spirit world. Through displaying solicitude and providing assistance, a magistrate treats his subjects as his children; they, in turn, regard him as a parent. The spirit world responds to this display of extreme parental solicitude (ci) by producing miracles. Sometimes these consist of favorable omens; other times, they have practical benefits – dangerous elements, such as bandits, locusts, or tigers, do not pester the local official’s precinct. By actively studying the mantic arts, a number of good officials also staved off supernatural disaster.
The miraculous content of these accounts celebrate the supernatural efficacy of Confucianism. The spirits of Heaven and Earth hunger to see people act well. By setting a personal example and improving commoners’ morals, good local officials obtain the spirits’ admiration and help. Hence, the narratives not only provide a model of how a local official should act, they also confirm the sacred nature of the government’s ideology.