When the world is ruled according to the Way, the ghosts lose their power. The ghosts do not really lose their power, but it is not used to harm people.
As it acts in the world, the Tao is like the bending of a bow. The top is bent downward; the bottom is bent up. It adjusts excess and deficiency so that there is perfect balance.