Am I overreacting

Ok so me and my husband have been dating for about 8 years. We broke up when he moved out of state because I wasn't going to move with, I was starting grad school the following semester. We found our way back to each other and he proposed, I said yes. The day we were going to pick up the marriage license I was in his phone and I saw a girl that was messaging him and they were flirting back and forth with each other. She asked him if she was out of bounds because he was engaged he never answered her and then after her asking a couple of times he said don't worry about it. I approached him about it and he said he was sorry, it didn't mean anything. He said he was doing it because of nerves of it being the last time he would ever be single. It hurt, but I loved him and I believed him. So we went and got the marriage license, now we're actually married. Out of nowhere I'm remembering how that whole situation made me feel and I'm wondering if I was an idiot for marrying him anyway... am I?