You have to work. If you really want to you can live on much less - rice and beans in a tiny apartment would let you live on a tiny income. However most people like luxuries in life. In addition, most jobs you cannot get anything done in an hour - it takes times to remember what I was doing the day before before I can write code again.
For the above reasons you will be working a significant number of hours. As such work will be a significant part of your existence. I would hope you are doing things you enjoy, and that in turn means it becomes a part of you.
The important thing though is make it an easy to replace part of you. Have other things you do. Hobbies, a family, sport, volunteer. There are lots of options. If something goes wrong in any of the above you have the rest to replace it. (family is the only one where you should strive to not have something go wrong - but even there it often does)