Curate, connect, and discover
TS4's ending, though rather disliked even by me, makes complete sense.
TS1 was about Woody teaching Buzz he is a toy. He is Andy's toy and Andy needs him, not Woody, but Buzz instead.
TS2 was about giving other toys the aame opportunities he has, to be there for a child. To be played with and have fun!
TS3 was Woody learning to let go. Because even if he can't see or be with Andy, he will always be Andy's toy. It's just Andy doesn't need him and Bonnie does.
TS4 at the beginning comes off as a combo. Teaching Forky to be a toy and helping Gabby Gabby have a chance. But Woody also needs to let go of not just Bonnie but also the gang, his family. Because Bonnie doesn't need him anymore and well what's a toy that isn't played with? So Woody stays, he says goodbye and stays because he's finally being selfish and it hurts but he's finally making a choice for himself. Dolly will watch over the gang, and Buzz will help. And maybe, even if just once a year, he'll get to see them again.
So yeah, it was horribly sad to see Woody stay but it was the right thing for him. Because he is Andy and Bonnie's toy, but he's a toy as well and maybe other kids need him.