All the things of this world are temporary. People are what matter. Your career, hobbies, and other interests will die with you. People continue on.
Treating others well not only benefits people, it also helps us navigate life better and puts us in a place where we can learn from others.
George Washington Carver observed, How far you go in life depends on your being tender with the young, compassionate with the aged, sympathetic with the striving, and tolerant of the weak and strong. Because some day in life you will have been all of these