What is the meaning of [fools build houses and wise men live in them]

The cost of building property is such that those who build houses cannot afford to live in them, and have to sell them to recoup their losses; also applied to other things that are expensive to produce