It is crucial to establish ethical guidelines for the development and use of AI in military applications.