Told my boyfriends brother about him cheating on me

Okay so I was talking to my boyfriends brother about cheating and then he was talking like how great his brother (my boyfriend) is in a relationship. So I told him about how his brother has done me with cheating with hookers and while I was pregnant. Now he’s in shock and I kinda don’t feel bad about telling him because he’s like a brother to me also. He’s 19 we’re 21. Any thoughts? Was I wrong?