Just rent and buy a house when it's absolutely necessary. Talking as someone who invested in a property in 2015. Spent the last 7 years paying a lakh as EMI.
While I have a house now and get decent rental yield of 2.5-3%. If I had put the money into the market, the increase in capital would have easily paid for my rent and I would have had my principal free for investment whenever I was sure I found a good flat.
Also, what I needed from a house in 2015 vs now, 2024 are poles apart. So again, I would urge you to wait till you have a kid, figure out base city, a school, etc.
Moreover, not sure of your job too. Having a massive loan with not much job security can be scary. Hard to say fuck off to a lousy employer.