A correctly installed and maintained system of gutters and downspouts on a house will channel rainwater well away from the foundation.
If any section of downspout is missing, it should be replaced immediately to avoid the potential for water damage to the foundation.