As long as he lives, he will be protecting the village from the shadows. Sasuke grew as a character and now he has empathy for other people.

He does it for him, Naruto, Sakura, Sarada and everyone else.