You are ignoring the cost of laying millions of miles of natural gas pipes to each and every home. And the leaks through all these pipes, which is 9%.
Electricity is the first utility and all homes have it. Of course, you can be off grid and have no utilities, just have solar+batteries, electrification works perfectly in that scenario.