The #1 killer of Mountain Men was being burnt out of the cabin in dead of winter, at least that was their fear. Throngs of people are still killed today from fires, much less survive a winter afterwards.
If you eliminated electricity fire prevention would be easy; keep your combustibles away from ignition sources. Keep flammables outside your domicile.
Because we use electricity, and run wires throughout the buildings we live in fire prevention becomes more difficult. The arc flash of an electrical short is about 2000* F. It will ignite most anything. It doesn’t help that electrical insulation is combustible. Make certain that your electrical system is installed properly and don’t mess around with the wires if you don’t know exactly what you’re doing.