Compare this with HIV, which can be rendered untransmittable with modern treatments, which is primarily a sexually transmitted disease, which has pre- and post-exposure treatments. It's simply not very efficient/effective to exile millions of people with a lifelong latent infection and little risk of transmission.
The instinct towards ostracism of those who are perceived as unclean is some pretty primordial lizard brain shit which was a great rule of thumb two thousand years ago, along with wearing garments made of only one kind of material. It's actually actively harmful to the process of stopping infection. It leads to fear, distrust, and reduced reporting, hindering the medical system's ability to reach the people who most need to be reached, and encouraging the spread of superstition and suspicion of pre- and post-exposure treatments. In both diseases, the actual infection risk is modest compared to an airborne virus like COVID.
[1] https://journals.lww.com/jphmp/Abstract/2022/03000/Estimatin...
[2] https://pubmed.ncbi.nlm.nih.gov/34189844/
[3] https://pmc.ncbi.nlm.nih.gov/articles/PMC4252165/
[4] https://pmc.ncbi.nlm.nih.gov/articles/PMC7875361/
[5] https://academic.oup.com/cid/article/73/10/1849/6168541?logi...