Which however is not our doing but of the Russians, since Brahmos is based on their Yakhont P800. We jointly developed an upgraded version of that missile, where our contribution lies in some of the fields you mentioned, mainly the software. So just as in FGFA, we co-own both, we implement things that we have, we apply both according to our needs, we can modify both if we want, we have access to techs and we jointly further develop both to the next level!
So without the Russians, no Brahmos and not 5th gen fighter development for us.
Last time I checked, our biggest enemy is the same as yours, so when you go for more than 2000 x F35s on top of the F22 to tackle the threat of China, shouldn't we do at least something in that direction as well?