When do i walk away

My boyfriend and i have been dating for a little over 7 months. we’ve been really rocky lately and im not sure whether to walk away or stay. When you find your person you just know. I just lost my dad and he was there for me through all of that. He had a really rough upbringing and just came back about a year ago from the navy. I’ve noticed he turns to alcohol to cover up his pain. Tonight he finally admitted it. He also told me he doesn’t know what makes him happy anymore. He’s been distant, we barely talk. i’ve been thinking if i really need this or deserve this? should i walk away or keep putting up with this? help!