You misread it; Anakin restores balance to the force by destroying the Jedi order with the destruction of the Temple and than he ends the lineage of the Sith with the death of the Emperor. If you pay attention in the prequels the Jedi are dogmatic jackoffs who are holding onto power and brainwash children to do so. The Jedi say emotions lead to the dark side; but ultimately it is Vader's emotion of love for his son that leads to the destruction of the Empire. And the reason Anakin turned to the dark side was ultimately fueled by love. Dark and light are ultimately both necessary.
https://en.wikipedia.org/wiki/Taiji_(philosophy)https://www.youtube.com/watch?v=-bH2PvsPic8