This is almost the same text that ChatGPT generates to the question "How can i maintain a work life balance as a developer?". My prompt gave one more idea:
Learn to say no: Don't take on more work than you can handle. Learning to say no is essential for maintaining a healthy work-life balance and preventing burnout.