The past few years have been challenging for homebuyers, especially with higher home prices and mortgage rates.