The construction in Sanskrit and Vedic is a locative absolutus which says: if the root or basis of something is rotten everything is rotten you can find it in the Upanishads and in the Vedas but also in the Mahabharata