Electric shocks can indeed be fatal depending on the voltage, current, duration, and path through the body.
Electric shocks can kill you.

Electric Shock: What Is Is, How It Feels, and Why Dangerous?
Source: justenergy.com
Key Evidence
According to Cleveland Clinic, shocks from power lines can be severe or fatal.
my.clevelandclinic.orgmy.clevelandclinic.orgElectric Shock or Injury: First Aid in an Unthinkable Emergency
The Better Health Channel explains that electric current flowing through tissues causes injury and can be deadly depending on severity.
betterhealth.vic.gov.aubetterhealth.vic.gov.auElectric shock
Burn Centers of America note that electrical shocks can cause arrhythmia or abnormal heart rhythms leading to death.
burncenters.comburncenters.comThe short-term and long-term effects of electric shock on the human body
What the Evidence Shows
Electric shock occurs when an electric current passes through the body, potentially disrupting normal physiological functions. The severity of an electric shock depends on several factors including the voltage level, the amount of current flowing through the body, the duration of exposure, and the path the current takes. High-voltage shocks or prolonged exposure can cause serious injuries such as burns, cardiac arrhythmias, or even immediate cardiac arrest leading to death. Even lower voltage shocks can be dangerous if they affect the heart or nervous system. Medical sources and health organizations confirm that electric shocks can be fatal, especially if emergency treatment is not promptly administered.
Key points include:
Electric current passing through vital organs like the heart can cause arrhythmia or cardiac arrest.
High-voltage shocks (e.g., from power lines) are more likely to be fatal than low-voltage household shocks.
Death from electric shock can occur instantly or within hours due to complications.
Immediate medical intervention improves survival chances but does not eliminate risk.
Therefore, the statement "Electric shocks can kill you" is accurate and supported by medical evidence.