What exactly makes you think you can stick it out for 10 years as a teacher? It's a very hard job. And why should a school be interested in hiring you as opposed to one of the people applying who actually went to school to be a teacher?
This. People who have never done it don't realize how challenging a job teaching actually is, and I don't know a single teacher who only works 40 hours per week nor works only nine months.
Teaching also requires continuing education to stay certified, and not all school systems qualify for loan forgiveness, usually you need to be working in a field that is traditionally short on teachers (math/science) or in a school system that is low income. This is not as good of a plan as you think it is, OP.
Not to mention, unless you really enjoy working with kids and can deal with all that entails I doubt you will make the 10 years. I left teaching because I would never be happy in a system that has no real upward mobility or room for advancement, but I sure as hell loved teaching. The people I know who began teaching because they couldn't figure out anything else, or really liked the schedule all were out within two years either through their own choice or through the non-renewal of a contract. Remember, your first three-five years as a teacher, even a public school teacher, means you can be let go for any reason or no reason at all, and if there are ever cuts it's last one in first one out. I know a few very good teachers who lost their jobs simply because they were low man on the totem pole. I really get irritated when someone decides they want to teach for any reason other than they actually WANT TO TEACH. You don't seem to care about the teaching aspect and it doesn't appear you've done any research into the field.