See how splayed out those toes are? That is how our feet have evolved to support walking upright in bare feet. A lot of modern shoes are too narrow, and cram toes together. If some of your toes are bent inwards, then you have shoes to thank for that.
I wonder how many other people at the mosque secretly think the same as you? If you have children, do you think they will be less constrained than you? In which case, there is some hope that the next generation will escape the strictures of organised religion.