Depends on what you mean by "worth it". Keep in mind, what I'm about to say is just what I've heard and seen in my own research, it's not based on my own experiences. The field of cybersecurity can be a very lucrative career. Pentesting, for example, can make you a six-figure salary (in the US) but you also have to account for your own experience, skills and education. In other words, someone at entry-level will not be making nearly that. I've been on the lookout for entry level helpdesk positions for myself and I've noticed an annual salary range of around $32,000 to $45,000 for most of the positions I checked. Also depends on location.
As for other possible ways of defining "worth it", I know that as you advance in the field, there's more opportunity for remote work, flexible hours (that is probably most true about red team types of positions), and so forth. If you love tech and are passionate about the concept of security, that can definitely ensure it's worth it.
At the end of the day, only you can really answer that question, but for me, I felt it was definitely worth it