The best time to buy is when you are ready and the earlier you buy, the easier it is to build wealth long term and at the very least, have paid off your mortgage by retirement, if not earlier.
Many people try to wait for the ideal time to buy from a market timing perspective. This is extremely difficult and as we have seen in recent years, even people who study the market in detail can get the outlook very wrong. Long term, it generally makes a limited difference anyway given how property markets perform over time.
In terms of ease of purchase however, a slower market is easier to buy in as you can take your time to make decisions. While a slow market is an easier one to buy in, it is interesting that historically, first home buyers tend to be more active in overheating markets, or when first home buyer incentives are particularly generous.