They demonstrated that he couldn't use his powers in the TVA in the first episode. And before he could escape and re-establish himself as a god somewhere else, he was shown that his mischievous ways always lead to his death. He was also shown that his actions led to the death of his mother. Then he had he mischievousness repeatedly slapped out of him by an angry Sif till he saw the error of his ways. Then there was the distraction of hunting Sylvie.
If you recall, he did originally want to usurp the timekeepers and take over the TVA, but by the time He Who Remains all but dropped the rulership of the sacred timeline in his lap, he declined it because he's a different Loki. He's a Loki who's had some real, positive character growth. He's become a hero rather than an anti-hero / villain.