NEW DELHI (BLOOMBERG) - Prime Minister Narendra Modi made a rare national address on live television last month to boast that India had destroyed a satellite in low orbit, establishing itself as a "space power" alongside the United States, Russia and China.
For a leader who lambasted his predecessor for failing to counter long-term geopolitical foe China, the missile test was a moment of "utmost pride".
Yet, China conducted a similar test more than a decade ago, in 2007, prompting critics to note that India's show of strength was merely highlighting the wide strategic gap between the world's two most populous countries.
Mr Modi's ruling party is making his record on national security a key part of its campaign in an election that will conclude on May 23, with boasts of air strikes against Pakistan and more than 80 trips abroad to cement India's reputation as a rising economic power. His government refused to attend Chinese President Xi Jinping's Belt and Road infrastructure forum that kicked off last Friday (April 26).
Yet for all that, India has only fallen further behind China over the past five years. Beijing has continued to outspend India on defence, implemented sweeping reforms in its military and diplomatic structures, and built strategic infrastructure in India's backyard - not to mention providing arch-rival Pakistan with defence technology.
"It's impossible to keep pace with China," said Mr Vishnu Prakash, a former Indian ambassador to South Korea and consul general in Shanghai. "We cannot get into checkbook diplomacy with China. We don't have that kind of economic muscle."
Whether Mr Modi returns to power or not, India's next government will still be saddled with ageing equipment like Soviet-era MiG warplanes, a bureaucracy that hinders military upgrades and an undersized diplomatic corps.
To fend off China, it's likely to continue shifting toward the US and other like-minded countries in Asia while seeking to protect its periphery.
"A major long-run test for India is to ensure that China does not turn India's own geography against it by encircling it with a string of military bases in the Indian Ocean," said Mr Rory Medcalf, who heads the National Security College at the Australian National University.
"Delhi will play a long game. As India's economy grows, this will still eventually translate into the world's third-largest defence budget."
India's economy has expanded to US$2.6 trillion (S$3.54 trillion), eclipsing France, while its largest trading partner is China.
Under Mr Modi, the country has skilfully handled its relationship with China, increased defence spending and granted the armed forces greater autonomy, said Mr G V L Narasimha Rao, an Indian lawmaker and spokesman for the ruling Bharatiya Janata Party (BJP).
"Admittedly, China has a much larger economy and defence budget in line with its own needs and plans," Mr Rao said. "India is not in any arms race with any country and has a defence budget that is adequate as per its needs. Streamlining the armed forces and reforms has been an ongoing process."
Still, India continues to lag behind China on every geopolitical metric, according to the Lowy Institute's Asia power index, which ranks countries according to economic resources, military capabilities and diplomatic influence.
Mr Modi's injection of personal enthusiasm into Indian foreign policy has not led to more resources at the severely short-staffed Ministry of External Affairs, said Associate Professor Happymon Jacob from the New Delhi's Jawaharlal Nehru University's School of International Studies.
India only has roughly 940 diplomats compared to China's estimated 7,500.
That lopsided situation is echoed in the armed forces.
Mr Xi has overseen China's most sweeping military reforms since the 1950s, cutting back non-combat personnel and modernising its military technology with space and cyber operations.
Meanwhile, India maintains a sprawling 1.4 million strong army and spends the bulk of its defence money on salaries and pensions, rather than new equipment.
"The three arms of the Indian military continue to believe they'll fight a war separately," Assoc Prof Jacob said.
Even Mr Modi's announcement of the anti-satellite missile test will be mostly useless against China, according to MIT associate political science professor Vipin Narang.
"Not only does China have more satellites that India would likely have to kill, but China may have an advantage in killing Indian satellites," Assoc Prof Narang said.
One of Mr Modi's major shifts has been greater alignment with countries seeking a counterweight against a rising China, in addition to dealing with a range of nations like France, Israel and Russia that want to sell it weapons.
The US in particular has sought to engage India, renaming its Asia-facing military operations to the Indo-Pacific Command last year and seeking to enlist it in a group known as "The Quad" along with Japan and Australia.
"China sees real risk in India's strengthening security ties with a formidable array of Indo-Pacific partners including America, Japan, Australia, Indonesia, France and Vietnam," Mr Medcalf said.
"The US and others do not need India as a formal ally or as a full rival with China. They simply need India to be itself - a capable and growing power in the Indian Ocean, whose navy can complicate life for China and whose diplomacy proves every day that China does not speak for Asia."
China and India have managed to keep a lid on tensions. After a tense stand-off high in the Himalayas in 2017, when Chinese and Indian troops faced off at a border area with Bhutan, a subsequent one-on-one summit between Mr Modi and Mr Xi defused tensions.
"Competition is everywhere, including between India and China, but the key point here is the essence of the competition," said Mr Wang Peng, an associate research fellow of the Chongyang Institute for Financial Studies at the Renmin University of China. "India and China have the potential for benign competition."
Still, China's infrastructure investments are shifting the long-term strategic picture. Beijing has poured more than US$60 billion into China Pakistan Economic Corridor projects, as well as ports from Myanmar to Sri Lanka.
India's competing infrastructure investments have been "lacklustre", according to a recent Henry Jackson Society report on infrastructure in the Indo-Pacific.
Beijing has also kept India out of the Nuclear Suppliers Group, which controls the export of nuclear materials, and recently blocked Indian and Western efforts at the United Nations to list as a designated terrorist the leader of a group that claimed responsibility for a suicide bombing that killed 40 Indian paramilitaries.
"In some ways, India is better off strategically than it was five years back," said Ms Alyssa Ayres, a former US diplomat and senior fellow for South Asia at the Council on Foreign Relations in New York.
"But you could, of course, also argue that India is falling further behind China instead of slowly closing the gap."