Need Advise, Thank you

Ok I need advise, another person's voice rather then my self. I been with my boyfriend for 2 years already, in certain situations i have caught him (his web history) while looking at his phone he goes to porn website's. I have told him how i felt about this, makes me feel stupid and worthless bc im not comfortable with my own body, he told me he would stop. This is the 3rd time as a matter of fact because i have found out again he is doing it again. Last time I made my self clear this was his only free pass, he had to stop or else we were done, he seemed pretty broke up about it but still didn't change apparently. I love him i do, but now it all makes sense in a way, he was starting to become more cold and distant and i did not know why. It hurts me that even after i told him if he kept at it our relationship would end, i just need advise how should i handle this situation? I have mixed feelings and dont want my mixed emotions cloud my better judgement. This is a rather big problem to me because this to me is in a way considered cheating, because I had told him to stop, and he did it behind my back anyways knowing if I ever found out I will be hurt.