Am I in the wrong?

CJfeelsLost
So my girlfriend of 2 years and I had a conversation not too long ago where we reflected on state of our relationship last year and we admitted to each other that we both had wandering thoughts about people we were attracted to during our rough patch last year.
She mentioned a longtime friend of hers among the 2 people she thought of as potential replacements for me and that kind of shook my foundation and made me less secure in the relationship. Since we hashed it out it wasn't an issue but he responded to her IG story just complimenting her and I didn't think much of it. She then posted a promo deal a day spa is offering and he responded offering to get her one of the packages. The main reason she had wandering thoughts was my financial situation and my lack of stability and I feel like her acceptance of this will further affirm this. Even though I am actively working on this, it still has me feeling extremely uncomfortable. Essentially I just want to know if I'm being insecure for being apprehensive of the idea or if it's fair. Am I being insecure or is the background of the situation enough to validate my feelings?
PS. He's abroad and I think it's indefinite but that didn't stop him being my "competition" last time so what's different now?
Am I in the wrong?
4 Opinion