A weak foundation frustrates [or renders vain] the work [built upon it.] Shep. Touch. CO; Noy, Max. 5, max. 12; Finch. Law, b. 1, ch. 3. When the foundation fails, all goes to the ground; as, where the cause of action fails, the action itself must of necessity fail. Wing, Max., 113, 114, max. 40; Broom, Max. 180.