My boyfriend broke up with me because he needs to focus on his career?

I was dating this guy for almost 2 years. It was an amazing relationship. We bickered some, but for the most part had a great time and were truly in love. He was always the one to tell me how amazing I was, how lucky he was to have me, and how he wouldn't know what to do if he lost me...
So I work at a hospital and have a successful career for the past 2 years. He is about a year younger than me and his career out of school did not work out as he planned and now he has been looking for new jobs, doing landscaping in the meantime. He has been lost and depressed figuring himself out and has switched career ideas 3 times within the past month. We had talked about marriage, kids, everything and he even took me to look at engagement rings. He always told me I was the one and he had no doubt in his mind. He told his family and all of his friends this as well. Everyone including his mom who i am close with and so is he was shocked when he broke up with me because it was honestly out of nowhere. Even a few days before we broke up, he was talking about marriage. Actually even during the break up, he said he still wants a future with me, but has to take the time to focus on himself and "be selfish" right now. He said he will always be in love with me but also said he does not expect me to put my life on hold and he kept saying "I know you won't be around when I am done." I am so confused because I figured he would want me by his side during this process and it hurts that he is willing to risk losing everything we had. Especially since he was always the one more invested in our relationship than i was.
My boyfriend broke up with me because he needs to focus on his career?
Post Opinion