For instance, if you just go by the number of joules in an electric car's battery versus the number of joules in a gasoline car's tank with the same range, you'll see that a 'normal' electric car gets around 15 kWh/100km whereas even a rather efficient gas car needs something more like 50kWh/100km. That's because gas combusion loses gigantic amounts of energy to heat and sound.
If you want to talk about 'total energy consumption' and compare solar/wind against fossil fuels, you should count the amount of energy in the sunlight that hits the surface of the solar panel, or the amount of wind energy hitting the turbine blade, rather than the amount of energy they deliver to the grid.
Still a long ways to go regardless, but much less bleak. And also, exponentially growing deployments of wind and solar are harder to spot on this 2-year old graph which goes only up to 2024.
Isn't a lot of energy used for heating, not work?
I've seen plans to run an engine in your furnace, thus creating both electric (at 20-30%, and capturing the rest as heat to the house. I've never seen this in the real world and experts who have looked as those systems said they won't enter a building that has one using that design. (it is possible to make a design they would trust, but they haven't seen any)
> Primary energy is based on the substitution method and measured in terawatt-hours.
[2] https://ourworldindata.org/grapher/primary-energy-source-bar...