About 40-45% of US petroleum use is burning it in passenger cars.
We're already a net exporter of oil; if we pushed a bigger fraction of cars and other transport uses to electrification we'd be a massive net exporter.
That wouldn't completely insulate us from global energy markets but it'd do a lot.