I just realized something. Anakin could have ended the Prophecy in Episode III when he could have helped Mace Windu to kill Palapatine. He had many chances to end the Prophecy without turning to the Sith. But I guess that's how Lucas imagined it for his saga.
This is the Imperial March.