You're exactly right..........you CANNOT get out of paying your school loans due to declaring bankruptcy. Those loans will follow you your entire life.
Too many college grads were doing this, racking up some huge debt at school, living the good life on student loans, getting their degree, holding off on getting a job, and declaring bankruptcy, wiping out their entire school debt..............until the government caught on to it and put an abrupt end to that practice. Now they follow you to your grave......