It's a question that comes up often, and answering it takes some nuance.
First, “other programmers” is tricky. Which other programmers?
It's easy to look at the highest paid, highest profile programming fields and say they're normal. But they really aren't.
FAANG companies are an outlier. That's why we have the label for them. Facebook, Apple, Amazon, Netflix, and Google pay unusually high rates, but they are big and employ a lot of people so it gets treated as “normal”. Many make 3x-4x or more than the average and median wages across all fields (which covers everything from flipping burgers to CEOs), and much more than the programming field in general. Many are in the top 5%, nearly all in the top 10% of wages. Their highest pay tiers are 1%'er income (being a 1%'er is lower wages than many people think) but few people in the company earn those rates.
Investment banking is an outlier. Investment banking programmers pay unusually high rates. Likewise, many make 3x-4x or more than the national average and median wages, and more than the field in general. Similarly, these companies pay a fortune that puts a person in the top earnings tiers.
If you look at the vast world of programmers, people work in every industry on the back office cobbling together accounting and ordering database stuff, logistical software, tools for their staff, and more. Programmers at manufacturing plants, programmers at stores of all industries from sporting goods to dairy goods to forklift delivery to shampoo distributors, all of them have inventory systems and web sites and POS systems and many of them employ programmers. Hospitals, schools, mining, construction, transportation, farming, banks, real estate, lawyers, entertainment, etc. Every industry employs programmers these days once they get large enough. Then you have more mundane stuff, all the little microcontrollers and chips that run the world: the wristwatches, the Bluetooth headsets, the dashcams, the store security cameras, the software driving those cameras, the TVs, the set top boxes, the microwaves and kitchen ovens, the little scales used to see if you need a second stamp on your postage. The software driving the retail stores where those items are sold. Their IT departments. All of it needs software, written by programmers. These are the real “normal” programmers. Normal programmers make about double the typical average wages crossing all fields and are generally well paid, but nothing as glamorous as the FAANG or investment banking programmers.
That said, the game industry has its own elements.
Supply and demand play a part. The allure of game programming certainly is a draw to the field, so it depresses wages at the entry level since lots of young fresh blood wants in. That goes away with experience, because there is less competition for people with 5+ or 10+ years of experience. As you advance in the career any specialties you have will help with wages. Experience helps generally. Senior and advanced programmers are paid more. Specialties like networking and graphics are paid more. Remember that wages are whatever you negotiate, they aren't dictated from the heavens.
From working in various industries inside and outside games, once you've got about 10 years experience the wages are similar with other industries. You might be able to negotiate higher or lower based on your background, but it's what you negotiate. If you are an outlier in some fashion, somehow you make a name for yourself you can command a much higher salary, but that's rare. They aren't FAANG wages, nor are they investment banking wages, but if you're a fair negotiator and know your worth you can get a good pay in line with “normal” programming in other fields. I've compared notes not just with salary surveys and public numbers, but also with two brothers who are programmers plus a few extended family relatives in various software fields. The pay rates in games aren't out of line, none of us are buying mansions on the hill but we all have fairly nice upper-middle-class lives.
As programmers generally we have pretty great jobs. We make far more than average wages, we get to twiddle our fingers sitting at a desk all day with little strenuous effort nor danger, and we get to create worlds. We have relatively good benefits and perks. If you want to change careers to something outside of games that's generally an option if you've developed competency as a programmer, so if you feel there is a pay disparity and that issue becomes an overriding concern you can work in some other field without much difficulty. And if you do that and discover that the grass really isn't any greener (I've worked programming in several businesses including broadcast television software, office accounting software, financial reporting, and boring generic data storage when game jobs weren't immediately forthcoming) you have the option to come back if you want.