Depending on your locale and position, you may have it backwards. Check out pilot pay in the United States at www.airlinepilotcentral.com
I would love to switch (back) to teaching but a 10x pay cut is not doable. Maybe close to retirement I will give it a try.