I feel that I want to interfere in a flirt that was about to happen between a random girl and my husband right in front of me
Why are you upset when a girl is flirting with your husband?
It hit me how selfish he is, but he still has to be loyal to me.
Just because a girl tries to flirt with your husband, you shouldn't get all riled up about her trivial behavior. Trust that the relationship between you and your husband is much stronger than some little girl trying to attract him.
I don't care about that, he shouldn't talk to other girls.
I understand that jealousy is a hard thing to ignore, but if you trust him at all then you should let him talk to whomever he wants.