As in the oldest continuously-operating legal systems?
Common law works very well in practice. Law is a problem that is impossible to solve optimally. Civil law has plenty of weak points - like every complex system.
https://www.cnn.com/2024/06/27/us/oklahoma-schools-bible-cur...