It is an excellent habit to consider return on investment (ROI).
What is the ROI of driving the speed limit? What is the ROI of going to bed before 10 pm?
Consider this analytical framework in a different context. What is the ROI of being someone who is generally fun to work with?
I would argue that someone who is joyful, kind, and curious, will themselves receive a high ROI in the form of more enjoyable days which their coworkers will also benefit from.
Of course, being joyful, kind, and curious is a secondary benefit to executing the thing that you were hired to do.
However, having a joyful, kind and curious attitude will help you to perform the primary task you were hired for more efficiently.