Q.Pepper plant getting full of yellow leaves
My plant is getting full of yellow leaves and some black spots are getting on leaves and the plant is getting died

Certified GKH Gardening Expert
Some leaf yellowing and leaf drop can be normal seasonal shedding in preparation for new growth. But from the photos I suspect the wilting of the foliage and leaf spots is water related. The spots may be fungal disease but also could be sunburn if the plant is not getting enough water. The wilting, drying and shriveling can be due to drought stress/water deficit.
Be sure to water adequately.
https://www.gardeningknowhow.com/garden-how-to/soil-fertilizers/testing-moisture-in-plants.htm
Nutritional deficiency can make the plant more susceptible to damage from stress factors. Fertilize with a complete organic fertilizer.