Also, countries like Norway manage to generate most of their electricity from renewables. Just because most countries don't doesn't mean it's impossible.
With world wide effort, electrical connections spanning the globe, tropical countries selling solar power to colder regions, huge and cheap energy storage facilities, we could maybe achieve that, though I'm really rather rooting for fusion, which should be economically available in only a few decades.
Some people have considered updating it with more recent figures:
https://www.carboncommentary.com/blog/2017/3/30/l6qcqgoedse1...