This is a good attitude because you're reminding yourself of your big-picture goal. For most people, homebuying decisions are driven by longer-term life needs — like raising a family or being close to work. However, short-term ups and downs in the housing market can trigger what's known as recency bias: the tendency to put extra weight and focus on more recent events even when the long term is still favorable.
Another common example of recency bias can occur when checking in frequently on a long-term retirement account like your 401(k) balance. Recency bias can lead you to put extra weight on short-term changes in value you wouldn't notice over the long term and could in turn influence you to change course on your long-term goals. Historically, home values (and markets) have increased in value in the long run, so patience and big-picture thinking are the right moves.