Trees usually don't damage the foundation of a house unless they are very close to the house, like 2 to 10 feet away. But trees' roots are very bad to your sewer pipes. If you have trees close to your sewage pipes, you need to have plumber to clean the line at least every two years.