What do you think about complimenting to another girl when I am in a relationship?

Hi, i am in a happy relationship for 2.5 years now. Before dating i was an highly extrovert person, talk to a lot of people keep myself busy and all, guy and girls both. Had 2-3 girls on which i had a crush on before dating and apart from those i didn't text with a wrong intent as in flirting or expecting something from the girl i am talking to. After these 2 years, an old chat came up on my ig, on which i complemented a girl on her story (after 4 months of me in the relationship) that she looks good/pretty in that picture, on 2-3 stories. I used to complement her boyfriend as well when she used to put him on her story. Now my girlfriend is very highly insecure because of the number of girls i used to talk to or the friends i have girls only, and i have tried to explain her everytime its nothing like that with anyone and we have a big fight, here i never initiate any fight, she has mostly very close guy friends and i am never uncomfortable with anything she does with her guy friends.

Now out of fear of having a very bad fight again because she has a habit of scrolling down my chats I don't know why, but can't really stop her. And because of this i deleted that chat, i am feeling immense guilt why did i do so because in my mind it was nothing wrong which i did, i just complemented her with not expecting anything just plain complement. Though after a few months of relationship i stopped being too extrovert hardly ever find to do socializing but this old thing would have created a big fight and out of fear i did all this, and feeling a lot guilty because of this. The chat was 2 years old, but yes i think you guys understand the context.

What should i do? i know everyone may not align with me that i did very wrong but would love to hear the opininon about me and this.

What do you think about complimenting to another girl when I am in a relationship?
Post Opinion