If a junction box is not grounded, it can result in surges in the electricity. When a box is not properly grounded, the electricity is able to flow freely and can cause serious hazards such as electrocution or fire.