I started flying lessons as a Navy E-3 while in training in Millington, TN. Paid for it out of my Navy salary; coming from my decidedly lower middle-class famiy in Dallas, there was no outside money available. The airport (Chas. Baker) was 7 miles away . I hoofed and hitchhiked over a period of 6 months or so. I was transferred just before I was ready for my flight test. Picked up the lessons again once I was estsablished in San Diego. Took the "nickle-snatcher" from North Island NAS and a bus to Lindberg Field for the lessons and (finally) the flight test. My first civilian job paid a massive $12,000 salary as A Field Service Engineer installing and maintaining blood-analysis instrumentation in hospital laboratories. Soon I was able to buy a used Grumman Traveler. After about 4 years with that one, I upgraded to a new Grumman Tiger. I stopped flying suddenly in 1983. Fast-forward to 2017, and I started flying again under the auspices of Light Sport. Given the dearth of Light Sport aircraft in my area, if I wished to fly, I would have to buy a (used) plane, so that's what I did.
I believe that there are several take-aways from my story. First, if one has the desire, one will find a way. Secondly, one doesn't have to be "rich" or "well off" to fly or to even own an airplane. Thirdly, it's all about priorities in how how you choose to spend your money. For instance, our most "elegant" car brand was a Pontiac Bonneville, which we kept for 17 years. My wife and I were, at best, at median (or less) income levels over our working years. Yet, even in the early years, we found it do-able to not only own a plane, but to actually use it to go places. Fourthly, it's still all about priorities. If your only consideration is to fly in a plush brand-new $400,000-800,000+ airplane, yeah, you're gonna have to be in an upper-income bracket or have serious inheritance funds. But, if you can get by with less-than-the-bestest-and-latest-in-everything, you do have a lot more options. Fifthly, I once heard someone say (about life matters), "If money is your only problem, you don't not a problem."
Regards.