I messed up my parents relationship

I feel so stupid and horrible . My dad has been coming home very late for the past year and he has also been getting himself into trouble (getting arrested and having me pick him up at 2 am and other things where he would come home with some horrible thing for us to figure out). He snaps at my mom and I if we ask too many questions. He has been separating from the family slowly claiming that he wanted to move out and him coming home drunk every night has really hurt us all. Obviously I knew he was cheating with someone because there were just too many obvious signs (I would go through all of them but it’d be too long a list you just have to trust me) that my mom wanted to avoid. Anyways I found some posts by his coworker and I saw her posing in his car (know it’s his car because there’s something broken in there that no other vehicle would have). I also saw that she was on vacation the same exact times that my dad went on his “business trips”. Once is a coincidence, but two times + is ridiculous. I hid it from my mom just because I knew she would be heart broken if she saw. My mom suspected the coworker and even went to work and confronted them but she claimed that the coworker was nice and that the coworker was claiming that her husband and her were in a perfectly good relationship. My dad had the two of them hanging out together and It was hard to see my mom trying to be nice with two people that i knew were playing her behind her back (she’s a good hearted person). Last night my dad came home and he had gotten into trouble. He said that he was one place and then changed his story. This was a last draw for me because he expected us to ask no questions and he was drunk. Today my mom was actually talking about possibly getting help for him because she thought he had a problem but I knew it was because he went out drinking with his coworker prior to coming home (he was out drinking with her in most of the situations where he came home drunk and in trouble). I felt bad and thought she deserved to know the truth So I told her what I knew about the cheating and she couldn’t stop crying and she was clearly very heartbroken. She also has depression (from him cheating on her in the past) so the situation was honestly horrendous for me to witness. I felt so bad for telling her. I also feel bad about throwing my dad under the bus like that because while he has his problems he is a good person and he loves all his kids dearly I know he doesn’t mean to hurt us but he does. I messed up my parents marriage and I just feel so guilty but my mom deserved to know.