This is where India started to lose a lot. Contrary to the Indian conspiracy theories about the Brits/West created Pakistan as a 'check' on India's future rise, the Brits/West had to leave the Subcontinent eventually and in a rush after WW II. However, India's early leaders, especially Nehru, were more into 'socialist' ideology then into real geo politics. Otherwise, the West had courted India a lot from the beginning and despite Pakistan's proximity to the USSR, India would be a 'strategic partner'. But Nehru and subsequent Indian leaders--all the way till BJP came to power around early 1990s--blundered and blundered. India had the 'Hindu Rate of Growth' for most of its history while Pakistan, even under Zulfi Bhutto years, was more prosperous.
India paid a huge price to be with the losers of history while Pakistan prospered economically AND militarily all the way from 1947 through the 1980s, much with the Western help. Why? Because Pakistanis were pragmatic and HAD to be pragmatic, which, on international politics, Indians were not.
BUT... India did have a crucial advantage: Political stability far better than Pakistan had. Pakistan lost TWO decades of progress: From 1989-1999 and then from about 2006/7-2015, roughly speaking.
But with the unfolding seemingly favorable geopolitical situation for Pakistan, I foresee a prosperous Pakistan ahead.
As for Modi--to me he seems better for the Indian economy then the corrupt Congress Party but then that's just my gut feeling only.