At risk of being buried under the mounting outrage, there was no such concepts as "homophobia" or "misogyny" when the Bible was being written and adopted.
And wiping out tribes and taking women as spoils of war wasn't either. Not being facetious; we see that sort of mentality with ISIS.
Well, the Book of Jozue is explicitly about barbarian hordes exterminating entire cities just cause, sometimes sparing one person or family for the lulz. I haven't defended this, obviously, but they way of thinking back hundreds of years ago was diffrent than ours (fortunately), and that should be remembered when discussing the content and the context.
For sure taking such stuff as literal directions now is homophobic/misogynic etc.