It has an effect. Obviously if a woman is scantily clad it can provoke sexual feelings, compared to if she was wearing a long dress. The very reason why the bible advises woman to dress modestly.
Maybe you need to live in a developing country like Egypt or India to understand that the more you put pressure on Women to dress conservatively, the more it encourages sexual harassment, touching and assault by Men.
It wasn't that long ago this was the case in the Western world as well, its the laws and judiciary which protect Women not the advice from the Bible, Quran, Gita, Dhammapada or Little red book by Mao.