Democracies can go astray as well, the will of the majority is not above human rights.
Human rights are only considered human rights because lots of people believe in them. It's not a universal rule of nature, societies are free to depart from them if they choose to do so. Who are we to force our worldview on a group of people that as a majority has chosen to live life in a different way?!
Personally I'm just lucky to be able to choose where I live so that my world views somewhat matches the values of the people around me. Not everyone is that lucky though. Especially marginalized people.