I am fascinated by the OPs assumption that we all lead prosperous lives. She cannot have been reading GN very throughly, because any peruse will quickly show how diverse are the circumstances of its members . Some are comfortly off, some are on Pension Credit. Some own their own houses -which can be a blessing or a curse.
I would say, a teacher has as good a salary as anyone else and certainly better than many. Whether that makes you financially prosperous rather depends on what your personal definition of financially prosperous is.
If you want to have a summer holiday in Australia and go skiing at half term, stay in good hotels and own new cars, yes you will struggle. But if your aims in life are more modest, it takes very little to live comfortably.
What makes you think money is all? Our DS chose a career path that he knew and acknowledged would never make him rich, that he would never earn as much as his father. But it was a career he set his heart on when he was very young, and never deviated from as he grew up. He worked hard, got three degrees and didn't get his first permanent job until he was 40, until then life had been a succession of contracts.
But he wouldn't give up his career for all the tea in China, I doubt he would move if his salary was doubled. He loves his job. He has a house, a happy marriage and two children, doing well. Yes, he has the income to afford that, but as a university lecturer, his salary is not much different to a teachers. His wife also works. combining studying for a PhD with freelance work. With two rapidly becoming indipendent children and an auto-immune disease. This works well for her
You need as much money as is necessary to assure you a comfortable secure roof over your head, food on the table. clothes on your back and a bit extra for small luxuries, after that.
I think DH and I would be considered fiancially prosperous. But there is no magic key. We both had professional careers, and did well in them. DH had a job that constantly took him all over the world to construction yards and remote parts of very unsalubrious countries at short notice for indefinite periods, but like DS he really enjoys his work so much that he is still doing it in his mid 70s. His willingness to travel the way he did meant he was paid quite well. He is still working because his skills are in high demand and he enjoys it. No cunning plans or deep financial dexterity was needed, just hard work and a willingness to go the extra mile.
If you are not happy in your current work, then use your time at home to research other careers. Many teachers leave the profession so it is a transferrableskill that other employers appreciate, but do not think that more money is the answer to your woes. It isn't