The law is not "fair and objective". It is a representation of the morals of the particular group holding power at the time of its writing.
It will never be "fair" because it only very rarely take all of the circumstances into account - as Anatole France put it: "In its majestic equality, the law forbids rich and poor alike to sleep under bridges, beg in the streets and steal loaves of bread."
Neither is it particularly objective - its application, especially in a common-law system, is extremely subjective. (You're bound by whatever the judge in previous cases thought the law was - E.g. in the US "stare decisis" is enshrined pretty much as an immutable rule)
It has never been a framework of "right or wrong", either. It is a framework on how disputes get settled. There is no interest in "right" beyond "the authors of the law at the time thought it was a good idea"
To take a trivial example: Slavery was recognized as morally wrong long before the law actually made it something that was not allowed. The law still allows carceral slavery, even though there is growing consensus that that's morally wrong.
As for "better" systems - there's certainly a large faction of countries making the case a civil law system is better than a common law system. But you don't need a "better system" - the law can only be meaningful if we accept that at all times, it will be flawed, it is not "fair and objective", it needs to be tempered with compassion, and it is our job to improve upon what we have.