Bad actions that go against community values change the values. A document understood properly is not a bad thing. There’s a lot of stupid laws in the USA for example that don’t get used – ever – because they’re stupid. You don’t have to throw out the lawbook because it has stupid laws in it. You just don’t use them.
Most don’t use them in western countries. Even in countries under Sharia instead of Common Law, moderate westernized Sharia is nearly indistinguishable from english Common Law.
There are exceptions, many of which are fought by the United Nations and Amnesty International for example but in general Sharia law has very similar principles to English Common law, which at its root, is Christian.