I don't mind when a company I join has some awful code - it sucks to work with at first, but it leaves me never bored since I can make my mark improving it and learn while I am at it. I work to schedule fixes to go along with feature development & try not to worry beyond that. There are many things to do in life, most not involving programming. I rather run with friends, travel & visit places with friends, research & code whatever I want without work pressure, play video games, and just overall have the freedom of choice.
I hope the OP hasn't fallen into this trap.