The early texts do not contain just-war ideology as such. Some argue that a sutta in the "Gamani Samyuttam" rules out all military service. In this passage, a soldier asks the Buddha if it is true that, as she/he has been told, soldiers slain in battle are reborn in a heavenly realm. The Buddha reluctantly replies that if she/he is killed in battle while her/his mind is seized with the intention to kill, she/he will undergo an unpleasant rebirth. In the early texts, a person's mental state at the time of death is generally viewed as having a great impact on the next birth.