That speaks to affordability, but not to why some countries just don't seem to be able to do it effectively, costing an order of magnitude more in some countries than others.
TBF price doesn't work well as a proxy for actual cost or efficiency either.
Many countries have price caps set by the government, subsidies to keep electricity affordable, or weirder/more complicated schemes to finance energy production.