Grave mistreatment of parents and wrongful flight from battle are included in lists of major sins. The latter is not a claim that every tactical withdrawal is prohibited; the circumstances and legitimate military purpose change the legal analysis.
The expression ilḥād in the sacred sanctuary is used in discussions of violating its sanctity and departing from right conduct. Because the term has contextual uses, it should not be flattened into one rule for every slight violation. A term's scope must be understood before assigning a particular religious judgment.