At the end of season 2 of "Loki," the titular character makes a significant decision that alters the course of events. After failing to stop Sylvie from killing He Who Remains, Loki decides to go back to the first time that Mobius interrogated him in the memory theater. He asks Mobius how the TVA decides who lives or dies, and Mobius explains that its done in order to protect people. Loki then takes his place as the God of Stories and holds the timelines together, forming a tree-like time structure (AKA Yggdrasil). This means that for the rest of time, Loki will be alone, but he will oversee his family and friends forever. This decision effectively changes the game and sets the stage for a new direction in the Marvel Cinematic Universe.
This ending marks a significant shift for the character of Loki, as he embraces his new role and takes on the responsibility of maintaining the timelines. It also sets the stage for potential future developments in the Marvel Cinematic Universe, as the repercussions of Lokis actions are likely to have far-reaching effects on the multiverse and the characters within it.