The phrase
"crumbling foundations" refers to a situation where something is falling apart or breaking down, often used figuratively to describe a problem or issue that is causing a larger system or structure to become unstable or ineffective.
Full definition