Years ago, unless you were an investor looking for an opportunity for a “fix and flip”, you would rarely come across foreclosed properties for sale.
Unless you asked specifically, agents would typically only show you homes that weren’t foreclosures.