Home prices slipped in some of the costliest U.S. markets in the second quarter, a sign that would-be buyers are sitting out the competition for a scarcity of affordable properties.

The median price for a previously owned single-family house increased 4.3% from a year earlier to $279,600, the National Association of Realtors said in a report Wednesday. Prices climbed in 162 of 178 metropolitan areas measured. The high-cost regions of San Jose, San Francisco and Honolulu were among those where prices fell.

Americans are showing some resistance to overpaying for homes after years of price increases that have outpaced incomes. The supply of lower-end properties remains tight in many areas, keeping people who want to buy on the sidelines. In some of the costliest markets, sellers are having to cut prices to reach a deal.

“Housing unaffordability will hinder sales irrespective of the local job market conditions,” Lawrence Yun, chief economist of the Realtors group, said in the report. “This is evident in the very expensive markets as home prices are either topping off or slightly falling.”

Read More: Bidding Wars Are Fading Fast, Even in San Francisco

Prices slid 5.3% in the San Jose region, yet it was still the country’s most expensive market, with a median sale price of $1.33 million. Prices slipped 1.9% in the San Francisco area and 1.2% in urban Honolulu.

This article was provided by Bloomberg News.