Don't change who you are unless this is your desire
Sorry to hear about this, but like others said, it happened in the past and it will happen again.
This time it happened to you, but this should not impact who you are. Yes, you can be more carefull or you can try to protect yourself more, but...