How much do you think a house will sink without a foundation?
The purpose of the foundation isn’t to prevent sinking. It creates a rigid and level structure to build the house on. Additionally a proper foundation needs to move water away from the structure. Placing wood directly on soil will cause it to rot as it absorbs moisture.
A newly built house will settle (sink) over the first year it is built, so having a foundation doesn’t prevent the house from sinking.
Latest Answers