Erosion underneath the concrete stoop

Thanks to a broken downspout (before I purchased the home) and the decaying asphalt driveway, some erosion has occurred between the driveway and my front entry stoop. Could this be contributing to the basement flooding? I fixed the downspout days after moving in, but leaves and other debris were hiding this growing erosion problem.

I tried to patch the crack with some concrete, but after dropping a pebble into one of the holes, it was clear that the erosion problem was much bigger than I realized.

I mixed more and more concrete, trying to fill the cavity, but after dumping 20 gallons of concrete into the hole, I knew the problem was too big to patch. The stoop and driveway will probably have to be rebuilt at some point.