I don't think it's a matter of "He deserved better." (which I often get so annoyed by in fandoms
). Sometimes it's a case of "His story has come full circle and his character arc is now complete which I do believe was the case for Loki. You could say that seeing him as a good guy would've been fun but for his story, I think what we got was wonderful.