Im going to chime in as someone who was in your spot about 6 months ago and were about the same age so I think the experience is relevant. I also think the economic landscape is also relevant, 5 years ago, in my area houses were 1/2 price compared to what they are now. We also experienced some FOMO and envy for people we knew that bought even 3 years ago for crazy low amounts. We worked really hard to not have that be the catalyst for why we bought.
My SO and I wanted to buy a house, but we wanted to buy a house for a number of reasons, I guess I would encourage you to think really hard about your "why' behind your wanting to buy a house. For us, it was 3 things:
1. We wanted a sense of permanency and to have roots in a community. We have lived in 4 different cities together and had a ton of different roommates throughout our lives, we both have basically moved every year for the last 10 years, across the entire country and through 3 Canadian Provinces. Buying a home for us was about rooting ourselves in a community with friends, family, the neighborhood we liked etc. I can't even begin to tell you after moving every year for the last 10 years how much ease I feel knowing that we are settled and are not going to pick up and move again. Its so nice to have our own space, to have designed it exactly as we want.
2. Affordability and math was in our favor. We were renting a 4-bedroom house where I live for $2,400 and we had two roommates, so we were essentially paying $600 per person or $1,200 for both of us plus utilities, internet, etc. It was crazy cheap, but it wasn't really "affordable" It was because we chose to put up living with two friends, but it wasn't a sustainable plan forever, and our landlords were not super cooperative or prompt about maintenance, so it always felt like we were in borrowed time. We bought our house for $350k with 15% and a mortgage of 4.4% so our monthly payment is around $1,700 and our all in housing cost is about $2k. Our house needed about $100k worth of renovation work that we have done mostly ourselves, but either way its cheaper then the living situation we were in before. As soon as we moved out our landlords hiked the rent to $2,800.
3. We were always a bit scared about being evictied. It kind of relates back to point #1 but no matter where we moved it always felt temporary. Im not sure how it works where you are, but where I live a landlord can essentially decide they need the rental unit back and just give you 2 months notice. It always felt difficult for us at least to build a home and community always knowing in the back of our minds that the housing situation could be temporary.
Im not trying to give you reasons for why YOU should want to buy a house, I just think before you buy its important to have real clarity on what those reasons are. Tbh if we lived in a place where renting was cheaper, and tenancy laws were different (like Europe) where entire generations rent without fear of eviction, then we might have made a different choice. A big part of what played into it is we LOVE where we live and even if our house value dropped 30% I still wouldnt regret it because I love the community and life we have here.
Wishing you best of luck in the decision, its not a small one. But whatever decision you do decide to make, it will all work out, because there is not one "right" decision either.