Religion is not at all axiomatic. Sometimes, it’s pure deontology. Sometimes, it’s a search through scripture to justify whatever are the prevailing ethics of the society it finds itself in. In either case, it's hundreds, or thousands, of rules/wisdom/guidance/???, often pairwise contradictory, and one does one's best to fit a desired course of action to them.
The world’s largest faith has racked up 2,000 years of discussion and they still can't muster more than a 60/40 split on the death penalty.