Yes, excessive use of chemicals such as insecticides and pesticides causes a threat to ecology. This is because these chemicals are non-biodegradable. They get washed away because of irrigation. Hence, they are a cause of water pollution. Continuous use of these chemicals causes harm to useful or symbiotic microorganisms living in soil. They can also result in the reduction of soil fertility and increase in soil acidity when used in excessive amount. They cannot replenish the organic matter of soil.
Therefore, we should use such chemicals in sustainable manner.