Foundations hold up the house, hold back the earth, and keep out the water. If they're not level and square, you may end up custom-cutting every rafter.