HELP PLEASE My relationship

Hi everyone soo I been in my first real relationship for over 5 months now i knew the guy for about two years. First we were friends with benefits then two months later we became a couple so back in the beginning of july he left for the military he is not coming back till november...anyway since hes been gone all i been thinking about is all the times he has made me agry or all the times i have cried because of him or the times he said things that have hurt me in some way even if he was joking...i cant think about the good times with him eventhough there was a lot...and even though he has been gone he still manages to make me frusterated he still says things or does things that hurt me even though hes in another state. I love him soo much and i promised him i would stick by his side, but it seems like he never made me his priority eventhough he has always been one of my main prioritues i have been one of the only people to stick by his side through this whole process...but eith the way he treats me idk ig i should just let him go and break up with him...or would that be a big mistake and am i just self sabotaging myself with me overthinking since hes been gone?