Advice please...

Both my bf & I are struggling mentally (anxiety & depression), more so him with depression for quite awhile now. I do everything I can for him, but he does not take my advice. I’m starting to think that we should break up and work on ourselves first more than anything. I honestly don’t know what to do; I love him, but at times I am unhappy. My heart and my brain are confused, any advice?