What was Walter supposed to do?

I'm watching the pilot (again). I get that it's a tv show and it's a bit exaggerated, but I think everyone can agree his life sucked. What was the best course of action for someone like him? What should he have found meaning in? Minerals like Hank?