To make the law more predictable, a notion of 'precedent' is used to help make future interpretations adhere to past ones, lending some continuity to all this. But this means that an interpretation of a law in a new context can partially determine what that law means without modifying the text of the law.
Abandoning the notion of precedent might avoid that, but it just makes the law unpredictable in other ways.
The way I interpreted your post was that you were saying a law should just be changed by the whims of the populace without a proper process in place.
But I think that element of consideration of popular feeling or shifting cultural norms is important. It's what lets judges do things like pass over laws banning women from wearing pants as a form of crossdressing instead of requiring, or to reinterpret language about equality as extending to wider groups of people than originally intended.