God promises to deliver the righteous from all spiritual ill.
Many are the afflictions of the righteous: but the LORD delivereth him out of them all. (Psalms 34:19 KJV)
Yes there are many spiritual illnesses that affect both those living for the things of God and those living in enmity to the things of God. There is a difference in being spiritually afflicted for trying to do the right thing and being plagued and distressed for living against the things of God.
Those who are living according to the will of God in their life are living righteously living in a world that is filled with all kinds of evil and wickedness can count on the Lord to deliver them out of any perilous situation. The child of God is stricken with many spiritual tests and trials in this world God never promises an easy road but that He deliver the righteous out of whatever situation they face as they profess the name of Jesus to an unwelcoming world.
The individuals who are set on living without God and in enmity against His will for their lives can count on God to fulfill His promises in their life as well. God’s Word clearly says death comes to those who live in sin rebelling against His will for their life.
For the wages of sin is death; but the gift of God is eternal life through Jesus Christ our Lord. (Romans 6:23 KJV)