👖 does think about his students and his friends multiple times this chapter and you can see that he cares about them in the scene with Geto crying. Now and all throught the series they were never his priority though, 👖's always been doing everything he does for himself.
I thought it was a fitting end for his character.
His goals are to reform the Jujutsu world and create a generation of sorcerers who can reach his level.
He was thinking about not telling Megumi about Toji . Then he just goes "Oh, Shoko will do it anyway". when Megumi is still controlled by Sukuna 😭😭
He wasn't thinking about how they are going to get fight now that Sukuna sliced through Infinity like it was cake, he also learned how to heal his burnt out cursed technique. From Gojo's PoV, they have no hope at all.
Not even the biggest Sukuna fan can say it was a good end for Gojo's character.