Sounds like the plot of FFVII-FFX.