I did a bad

So I went through my blyfriends phone. And I wish I didn’t. I don’t like that I did it. He doesn’t hide it from me and said I can go through it whenever, but I feel bad because I did it when he wasn’t around.

I went to his old messages with his ex and damn made me feel like crap. I know it shouldn’t affect me but it hurt to see it