Military relationship...help

So my boyfriend who’ve I’ve been with for almost 2 1/2 years is going through some stuff (he’s about to graduate basic soon) and he’s been having a lot go through his head there and he thinks we should take a break which he had explained that it’s not that he doesn’t love me and that he still does or that he didn’t like being with me he said it’s just something he has to do rn with focusing on this becoming his career and he said if everything works out that we will end up together. He mentioned that he didn’t wanna screw me over in any way and he said he just can’t have to worry about me rn or have any distractions. So I accepted that and I figured he wanted me out of his life meaning like we’re broken up and I shouldn’t talk to him. (His drill Sargent is the one that really got into his head about all this) so I told him that I’d do anything and I just want him to succeed and that I love him and I’m willing to accept that he can’t have me in his life as a distraction rn. He then said that he loves me and that I will still be in his life (even though he said he wouldn’t talk to anyone during this time) but we still talk every Sunday (which is when he gets his phone) he also said that we will still see eachother when he’s back and he’s acting like nothing happened and I’m confused af if we’re together and Ik he’s still confused himself and scared about the future and shit and I’ve been trying my hardest to continue to support him but he’s not sure if he wants me to go to his graduation still and I’m just so confused if we’re together or if I’m even doing the right thing. I care so much for this guy and I’d do anything for him.

I really don’t have anyone that understands and I need some help or advice or something. My friends and family have been no help at all.