This is a perfect example of tearing part of a verse out of context! This is bad hermeneutics or Bible interpretation. You are believing it not because you read it in your Bible, but because some Word Faith evangelist cherry picked it, and you took this out of context preaching as true, rather than seeing what thise 6 words really say, when in context of the whole verse, and the passage!
"He himself bore our sins” in his body on the cross, so that we might die to sins and live for righteousness; “by his wounds you have been healed.” 25 For “you were like sheep going astray,” but now you have returned to the Shepherd and Overseer of your souls." 1 Peter 2:24-25. NET
What does the passage really say? Does it say by Jesus death everyone is healed? No!
The atonement is "He himself bore our sins!" Why, so we can be physically healed on demand?? It is quite clear, in this passage that Christ died so we would die to sin and live for righteousness!
We are redeemed by the cross of Christ, from our sin sickness! We were like sheep going astray, sinners, but because of Jesus death on the cross, we are set free by the Shepherd! In other words, we are no longer sheep going astray, because Jesus has saved us and brought him back to the safety and security of the sheep fold.
This psssage fulfills what was prophesied in Isaiah 53, that we are healed of our deep wounds of sin and death by Jesus death!
These are the verses Peter was quoting from Isaiah:
"4 Surely he has borne our griefs
and carried our sorrows;
yet we esteemed him stricken,
smitten by God, and afflicted.
5 But he was pierced for our transgressions;
he was crushed for our iniquities;
upon him was the chastisement that brought us peace,
and with his wounds we are healed." Isa, 53:4-5 ESV
Here are some links, to briefly explain why this Word Faith teaching is wrong! And context is the reason!
https://www.whatchristianswanttoknow.com/is-by-his-stripes-we-are-healed-a-promise-to-heal-everyone/
https://www.desiringgod.org/labs/by-his-wounds-you-have-been-healed