Any mechanical device can fail if neglected or mistreated.
Good autos that are properly maintained, and fed good ammo in good magazines, are extremely reliable.
Most revolvers actually have more small parts, and more things that can break. A revolver's theoretical advantage is that it does not rely on a magazine system; but revolvers can go out of timing, they can suffer bent cylinder cranes, and they can have burnt powder and oil crud bind up an ejector star.
Moral of the story: Use good ammo, that you have tested in your gun; practice proper maintenance, and replace worn parts as necessary (recoil springs, magazine springs, etc); do that, and your Glock should be every bit as reliable as a revolver.
Edit: plus, you already have a G26 BUG.