am i terrible for being mad?

my boyfriend and i broke up and the next morning he woke up and asked if i could take him back, and that he regrets it. i found out that while we were broken up he did things i told him i was uncomfortable with when we broke up, this was 1 hour after we broke up. he watched porn, n also txted this girl his number. he told me “i wanted to txt her because i felt i had no one to talk to, i wasnt trying to get with her” and he said that he was trying to cope n push away the feelings by doing those things, he said he realized that last night he doesnt want those things and wants to be with me and that he would give up everything for me. im trying so hard to not be upset especially because we had a conversation abt it and we made clear boundaries but i just cant help but to be upset