What made you keep trying running even though you failed multiple times at it? And had you failed even with excellent running shoes, would you have even kept trying? (Maybe you would have thought: "Well, I already have the best shoes. If I still can't get good, maybe I should give up forever.")
Well, I was always fundamentally motivated by wanting to be able to run for the health benefits, but that motivation was tempered by lack of progress. If I hadn't changed shoes I might have given up eventually.