This claim is easy to find as true according to the article provided, along with additional sources I have found and my own personal experience.
The article provided, states that "Spending time on an activity that you enjoy can improve your mental health and wellbeing. In fact, people with hobbies may be less likely to experience stress, low mood, and depression" (Head to Health). While this article is brief, they use research to back up their reasoning.
An additional article called "Having a hobby tied to happiness and well-being" on Harvard Health Publishing, discusses how engaging in hobbies can lead to better health along with fewer symptoms of depression, and higher life satisfaction. Furthermore, there are plenty of reliable articles that support this claim.
It is evident that doing something that you enjoy and or promotes you to have a purpose contributes to overall life satisfaction. For example, one of my hobbies is surfing, and the act of going out for a surf session heavily decreases my stress, which is tied to research on lowered heart rates when engaging in a hobby.
Having a hobby tied to happiness and well-being - Harvard Health
Purposeful activity | Head to Health