The ground wire is connected to ground, per the diagram.
The ground wire in the diagram is not connected to your house's grounding device. It is connected to the ground of the appliance, which has no such connection to the actual, physical ground.