You are not looking at the other side of that coin. Yes, it is true that India has to spend a lot of resources in training and deploying forces, but what about Pakistan? Jehadis/terrorists/non-state-actors/whaever the latest name is, they don't grow on trees either. Their society has to pay a bigger price, though not monetarily, to train and equip these militants.
They spend money on recruiting and training and brainwashing their young men, who then die at the border. We spend money to recruit and train officers and jawans, who lead productive lives in society, as highly trained and motivated individuals. Which one seems to be a better deal?
Sure, the (financial) cost for India to train and deploy a soldier is more than the cost for them to train and send a militant. But all of their militants end up like what you see in those pics, while only a few of our soldiers get martyred. The soldiers we train then contribute to society in various ways, not only in the armed forces, but later in civilian jobs as well, since they are highly trained, disciplined and motivated. They also become breadwinners for their families, and their spouses and children depend on them. It is not like we have a major labour shortage - so why not spend our resources in paying the salaries and for the training of these people, rather than giving it away in stupid welfare schemes lie food bill and fuel subsidies?
Now another point - as I explained, their "strategic assets", on whom they spend their nation's meager resources, all get blown up wastefully even before reaching their destination. They spend not only money, but also most of their training and law enforcement resources on these so called assets, which means that they have that much less for ensuring law and order in their own country. The results of which are there for everyone to see. Also, these "strategic asset" fellows they train don't limit their expertise on India. After a while, they start biting the hand that fed them, and breed and multiply within their country, spawning so many terror groups there to overwhelm their own trainers.
So while India spends resources on training a cadre of highly qualified security professionals who contribute positively to the nation, they waste their money on training and arming assets that are eventually going to be liabilities.
With all that in mind, do you really think it is such a bad situation from an Indian POV? They famously tried to "bleed India by a thousand cuts", but who ended up bleeding more?