I remember I once did it just this last semester in the uni. I told my roomates about my life and soke informations I should have kept secret. But then something happened between I and one of them and it escalated to the extent that he used that same information I told him to insult me. This really pained me and I had to say alot mean words back to him. But then it just thought me to never share those things that are dear to me ever to anyone again.
I’m sorry you learnt the hard way. At least, you know better now.