I've spent most of my teenage years tinkering around with programming, afterwards I spent 4 years pursuing my CS degree.
I worked as a tutor for 2 years, and a software engineer for 2 years.
Now, I got a job in a field that's not related to software engineering, let alone computer science, getting this job instead of a software engineering one has a lot of reasons and is not worth getting into to be honest.
Recently, I started to feel bad, really bad, because I was feeling like I've been slowly drifting away from software engineering, and all of the hard work I've made and the time I spent learning it is going to waste.
I want to start working on a side project but I no idea comes to mind!
Any tips to cope with this, what would of you done if you were in my place?
Other jobs in between were both enjoyable in and of themselves, but also made me see dev work in a different light. Namely, that it's super cushy but pretty soulless, lol. Definitely not for everyone, and not at every stage of their lives either. I would be happy to give up the cush for more meaning and fulfillment. Whether you would is up to you to find out!
A lot of dev work is becoming less relevant now too, now that the ad bubbles have burst, countries are cracking down on privacy, Skynet is just around the corner, etc. Maybe it's a good thing you have other skills!
If I were you, I'd use your youth not to fret about the past but to explore different options for the future. You're barely getting started. It's OK to try different things until you find one you like, do that for a bit, and then switch. My mom was an English major who switched careers four or five times, becoming happier each time. My dad was an engineer (civil/electrical) who had one job his entire career, and he was the most one-dimensional and unhappy person I ever knew, at least until he retired. Different life paths and outcomes.
Your CS degree wasn't wasted. You still have a bachelor's, which is more than most people can say. You learned enough to work on the field, but maybe didn't want to stay there forever. It's okay. Even if you do want to go back, it's like riding a bike, you just remember and pick it back up again. Sure, the frameworks and languages might change, and the person next to you might be a killer robot, but the underlying principles are probably still similar.
Your real job isn't coding, it's figuring out what would make you happy, fulfilled, and financially sustainable enough for the next few decades... but a few years at a time, typically, not all at once.