^This is a good thing to remind yourself. Unfortunately it is something that happens in hostels although it’s extremely rare, as long as you take precautions (of course we shouldn’t have to but it is what it is) - like staying in highly rated hostels, reporting or moving rooms if you feel uncomfortable, staying in female only dorms & not staying out late alone, then it’s very unlikely and not something worth missing out for. Always keep your stuff in your locker to avoid people stealing stuff, it’s less likely to happen at least in Europe as people travelling there tend to be a slightly older and have more money than people travelling SEA.
I just went away for 2 months & did a short trip in Europe, staying in mixed & female only dorms at hostels and had no issues! Most men in my rooms were friendly & respectful and in every place I met people so I was rarely alone, there’s a lot of other solo female travellers. I didn’t hear any bad hostel stories from other solo travellers I met, only the odd noisy/inconsiderate roommate.
I get health anxiety a little and was nervous about being robbed as I’d heard bad stories, but you have to remember there is a negative bias. Being prepared & taking precautions helped me feel less anxious. Sorry I have waffled!