Hermione shared the sentiment. Any person who could be teased away from a person they claimed to love didn't deserve them. Didn't deserve anyone, really. She resolved then to never enter into a commitment without first verifying that she would never stray. Most likely that meant Hermione would never do it, because any one person couldn't satisfy her.