You say that now, but it was just how the world was back then. Women didn't know anything different, and neither would you if you had been born during that time.
And I think they were allowed to beat their wives, not whip. But not too harshly. It depends on the society.