This is one of the reason common law countries are generally wealthier than civil law ones, because precedent is stronger in common law, so it's easier to do business (less uncertainty).
Sounds like a just-so explanation and something something causation ≠ correlation. Like me saying "Countries that use imperial units are richer than countries that use metric. The inconsistency in the former make their citizens more adaptable from childhood and supercharge their productivity."