People who wrote those “holy books” had no clue about “distorted perception” so instead of pointing out the delusions of the mind, they blame the women instead. Little did the so-called “prophet” know that an anagami could be swarmed by naked women and not generate a trace of lust.
But like mentioned above, dwelling over such bastards-led farce is a waste of time and would only contribute to further agitating our minds. To be bothered less by such worldly issues, we have to create the environment that’ll help trigger the meritorious causes, which can be done by listening, reading, and practicing Dhamma. I strongly suggest attending online personal Dhamma talks with the monks at Jethavanarama as much as possible. We can use our time to do beneficial things instead. That’s what we have control over!
Additionally, if you’re interested in a philosophy that’ll help you be more resilient in your lay life, I also recommend Stoicism.