> A real estate agent told me

Whatever you wanted to hear to make them the most amount of money in the(ir) least amount of time.

They are the sellers agent.

You should not trust them a millimetre further than that.

(I bought my current house based on a spreadsheet analysis. Doorknobs are easy to replace, foundations, walls, electric, a lot harder.)

You seem to be assuming that the real estate agent was in the process of selling them a house.