Because who needs 4,000 miles of fortifications when you can just use a bunch of weak mortar mix and some poorly maintained drainage systems?
Bubonic fleas, check. Medieval hygiena, fail.
Find out about the 100 Years War that followed, because apparently 4 years of plague wasn't enough