For a permanently connected dishwasher: This appliance must be connected to a grounded metal, permanent wiring system, or an equipment-grounding conductor must be run with the circuit conductors and connected to the equipment-grounding terminal or lead to the appliance.
Connect the ground wire to the green ground connector in the terminal box.