The law is not based on faith. In fact, it is just the opposite. It teaches that "the one who does those things will live by them." (Leviticus 18:5)