I am not a Glock fanboy... I do own one Glock, mostly just to own one. It is a gen4 as I could not stand the way the gen 3 felt in hand, or the grip angle. Just want you to go into this with that knowledge, so no hidden meaning is attributed to what I write.
Statistics say that every gun model has had strange things happen when in use, with at least one, but most likely several, examples of that model.
Internal biases can be hard to overcome, and loss aversion is a strong one... Which is the bias I think this may butt up against, with your current distrust of Glock.
Personal examples tend to stick in our minds much stronger than the examples put forth by other people as well.
Yes, "on the whole" Glocks are solid options... That is not to say that occasional bad examples and faulty pistols don't make their way into the market. In fact, that phrase is intended to acknowledge the fact that Glocks are not perfect.
Rock Island has plenty of detractors and examples of poor pistols... EAA and Sig as well.
You look around hard enough, you will find the dirt on any firearm and manufacturer.
With your particular problem Glock... It was a fluke, a rare and unlikely chance...
You basically experienced the Shirley Jackson's Lottery of the firearms world.
If you do not want a Glock, that is fine, but no pistol you choose will have better odds of success than a Glock. Modern pistols are pretty much on par with each other, given you look at any respected manufacturer.
And if we are breaking down biases... I am still curious as to why you are going with a 10mm rather than sticking with 40... There are many more models available in 40 for one...