Secret Empire literally erased itself at the end of the story
It was only partially erased, the future with Widow and Rick Jones dead and Vegas in ruins is still a thing, they just undid the fake history where Cap was Hydra/the Allies used the Cube to win WWII. Which might actually be dumber than just erasing the whole thing maybe. ---