maintenance of wastewater infrastructure in developing countries

They say "What will not be maintained, does not need to be built". Why is it that wastewater infrastructure in most developing countries are poorly designed and poorly constructed whilethe ones which were properly designed and nicely constructed are neglected and overtime become delapidatedand cant perform the intended purpose anymore. In fact wastewater treatment is actually neglected by most goverments in developing countries.