NOT A TEACHER
As I tried to explain in your other thread about "slavery," I believe that it is inaccurate (from a language point of view) to say that Indians were "enslaved" by other nations.
We can discuss ONLY language here, so what I mean is that -- according to my poor knowledge of history -- Indians were "only" colonized by a European nation.
From a language point of view, "slavery" refers to the situation in the United States until the American Civil War.
From a language point of view, no such "slavery" ever occurred in India when it was under colonial rule.
Perhaps you wish to say something like: "I wish that India had never been colonized by a foreign country."