We see news of India’s education system, but if you see the education index Pakistan is doing much better than India
Check the Education Index
The Education Index is measured by the adult literacy rate (with two-thirds weighting) and the combined primary, secondary, and tertiary gross enrollment ratio (with one-third weighting). The adult literacy rate gives an indication of the ability to read and write , while the GER gives an indication of the level of education from Kindergarten to postgraduate education
India is at 142 position 0.638 while Pakistan is at 137 with score 0.665.