The comparison with "primary energy" misses the inefficiency of the usage of fossil fuels. If you electrify the main uses of fossil energy, the efficency goes up by like a factor of 3 - electric cars vs. ICE, heat pumps vs. burning fuels.
Yes, it is a long journey until the whole energy consumption is moved to renewables, but running the electric grid of a country like Germany to way over 60% on renewables is an important point on the way there.