Ever think about leaving?

I have been with my bf for 10 yrs and we have 2 kids but lately i feel like its not worth it but cant bring myself to make him leave just a little bit about our situation...he used to be abusive but I stayed with him and we worked through that its been 2 yrs that he hasn't put a hand on me and its been 3 yrs since he last had a job he used to cook and clean and watch the kids but hasn't been recently and now he won't even leave the house I think hes depressed but he won't help himself or let me and its just making me depressed but I feel like maybe we can work through things like we have before but im 2nd guessing myself...anybody that has been through something like this please give some advice