My husband is depressed...help please

My husband is Navy and due to issues within his division, he's become depressed and anxious. Some of his shipmates are telling him that he's worthless, that the division would be better off without him, that he's wasting space, and a few other things I forget. His LPO has been playing grab ass and my husband has asked him not to 5 or 6 times. Last week, he took his PFA and was told he passed. The other night, he was told he failed and then got yelled at because, after being told he didn't need to retake it, he didn't retake it. His back was bothering him (something that's been going on for a while) and his running shoes weren't on the ship. I want to help him. Obviously I'm not going to go talk to his command or anything like that, but I want to help him. I just don't know how. He wants to talk to someone and get help because he hates his job right now, and he really used to love it. I've asked him if it's possible for him to be assigned to a different ship (he said it's possible, but probably not going to happen). He used to talk to the Chaplain on board, but his ship just got a new Chaplain, who apparently isn't helpful when it comes to figuring out solutions and counseling type stuff. Please give me advice on what to do or what he can do. He really used to love his job and the Navy and now he hates it.

*Edit to add* His ship has a deployment coming up, which I'm sure isn't helping with what's going on in his head, but isn't the sole reason he's depressed