While soap can control garden pests, most modern dishwashing liquids are not soap — they’re detergent. The ingredients may not be effective against garden insects and could potentially damage the plant’s leaves. If you do try dish soap, test by spraying a water/detergent mix on a single leaf, then wait 24 hours to check for damage.