How earth wires protect us from electric shocks..
1 ~ The earth wire is connected to the casing of the appliance.
2 ~ If live wire touches the appliance casing, earth wire provides alternative pathway for electricity to flow.
3 ~ No electric shocks from touching the casing.