Master's degree and making over 500k a year, so I'm going to assume you are an intelligent person and were able to understand the terms of the H1-B visa program and the limits regarding green cards 17 years ago when you intially applied for a visa.
The conditions may have their downsides but they are the ones you agreed to and in exchange for agreeing to them you were provided access to opportunities that would not have been available to you in your home country. It sounds to me like now that you have reaped the benefits you want to stop paying the price you agreed to in exchange for those benefits.