Why isnt all ac power a square wave, makes it all simpler.
Start with the fact that a square wave is a sum of infinite sine waves: a sine wave at the fundamental frequency, plus sine waves at all the odd harmonics (e.g. if your square wave is 100Hz, then it’s composed of the sum of sine waves at 100Hz, 300Hz, 500Hz, etc. theoretically to infinity).
To give a bit more insight into why this is a bad thing:
1. Generators used to supply sinusoidal waveforms, mostly 3 phase AC since a hundred or so years.
2. The inductance and capacitance of the power transmission lines would filter out the higher frequencies of that square wave, rounding it off a bit.
2.1 same goes for transformers on the power grid.
2.2 this also needs a lot more reactive power which means more current on the transmission lines -> bigger lines -> more money
3. The transformer (those things get used a lot in power delivery) does not like high frequency. The higher the frequency, the more losses you get for a given iron core material. Cores are already designed to deal with these losses and reduce them to a point where a transformer has 99% efficiency at nominal power. But introducing higher frequency will up these losses and waste money and heat the transformer.. which would need bigger cooling.
4. Same goes for all the 3-phase (and also 1-ph) motors that get used everywhere in industry and run the western world when it comes to moving things.
5. 3 phase power with square waves would be all weird and wonky.
And it does not really have any significant, real world benefit. You get the downsides of DC with the downsides of AC combined and none of the upsides I guess.