IMHO burnout as a SW dev isn't because of the coding itself, I find that the easiest part to deal with.
It's the constant pressure to stay up to date an an industry that changes faster and faster and a job market that get more and more competitive. It's the constant sprinting towards more and more ambitious arbitrary deadlines set by sales or management using half-assed Agile and Scrum processes imposed onto you by clueless higher-ups. It's constant interruptions and multitasking in several tools you have to keep up with throughout the day: chats, calls, emails, Jira, etc. while also being expected to focus and code. It's the exhausting and time consuming interview practices. It's the idiotic and overpaid management and execs who treat you like a disposable resource and thinks colorful beanbags, ping-pong and foosball tables would make me want to spend 2h commuting to the office every day to sit in a noisy open office with a view of a concrete parking lot, and that pictures of employees in funny situations with moustaches drawn on them and turned into memes and plastered around the office means a "friendly" atmosphere and it's what I would enjoy instead of WFH in peace and quiet (maybe I'm too old or something but I can't stand my workplace treating me, a professional in my 30's, like I'm a childish toddler looking to join some kindergarten playground).
Coding and debugging alone is very pleasant for me, it's why I became a dev, but it's everything else related to this industry that breaks my will to live.