Except that the bible version occurred a few thousand years ago and was replaced when the new covenant came along and people became more civilized.
True enough. Though Jews don’t believe in the new covenant bit. But the even orthodox Jews don’t really enforce such laws any more.
The problem is therefore not so much with the Koran and sharia themselves as with failure of their followers to “reinterpret” them appropriately.
Applied literally, the laws of the OT are remarkably similar in many ways to sharia.