Something that can be very damaging to the foundation of a home is exterior water.
Installing underground drainage for gutters.
Buried or underground roof drainage downspout defects clogging overflowing holes corrosion leaks that cause wet basements or crawl areas proper installation of buried downspout extensions proper installation of french drains seepage pits at flat sites gutter downspout defects cause wet basements crawl areas questions answers about installing maintaining repairing buried roof.
Screw a drain cover over the end of the tubing as it approaches daylight to keep critters out.
To prevent erosion make a rock bed around the end of the tube.
Rainfall runoff from the downspout will first fill the hole you filled with pea gravel.