I hate to suggest this, but this a very naive question to come from a 40-year old. A job is a job. Most software jobs are just jobs. Even if you love it, it has all the pangs of any other job.
It’s a hyper competitive, saturated field, like everything else. Keep whatever advantage you have now, and ride it out. Life sucks, don’t try this.