Here's the answer:
“働くために生きるんじゃない”
(hataraku tame ni ikiru njanai)
Watch a real native speaker say it:
Here's how it sounds in a textbook:
Fun fact: the hundreds of thousands of people learning Japanese with Memrise get this phrase correct 94.29% of the time!