The primary function of law is to provide a framework for social order.
Your mindset determines your success more than your skills ever will.