Yes, gear does play some factor. If your gun doesn’t cycle, then yeah, skill gets neutered. But when it comes to quality modern guns and accessories, the margins between them are quite slim.
The more time goes on, the less and less I care about gear and the more I obsess about technique and execution.
Instead of spending a bunch of money on a new shiny piece of gear, try spending money on a class instead.