We did. India was sanctioned after our nuclear tests in 1998. That's what pushed the projects like HAL Tejas, GTRE Kaveri jet engine, a slew of indigenous radar programs, Arjun MBT, complete self-reliance in the space sector, etc.
Our problem is that our defence industry has only started...