The discharge point should be at least 10 feet away from your foundation, but 20 feet is better. Otherwise, the water will reabsorb into the soil, and your pump will need to remove it again. A constant flow of water damages your foundation, contributes to erosion, and quickly wears out your sump pump.