In poorer countries, getting an education is the easiest way out of poverty.
All else is not equal here.
All else is not equal here.
This is a bit of a numbers/definition game.
I don't know if there's an official definition of poor but if over half of the population lacks indoor plumbing and makes only a few dollars a day, I'd say most people in the 1st world would call it a poor country.
Many positive things might be said about India, but the notion that it is not a poor country is objectively quite mistaken.