Leaving soap in the carpet for a long, can cause the chemicals to start reacting with your carpet material. In light of this, the carpet starts to attract dirt faster, especially if it's liquid soap. Additionally, leaving soap in the carpet can bring about moisture, and moisture in the carpet can result in the growth of mold and mildew that are harmful to health. This moisture also damages the wooden floorboards.