Man's end depends on deeds in previous births:
One of the Divine injunctions point out that God alone has the sole authority to create or destroy any sentient being. As such, anyone who cannot give or bring back life has no right to take it away. Whether man's passing away from this world should be easy and painless or agonizing is determined by the accumulated results of his deeds committed in his previous births.
This being the case, putting an end to a person's life prematurely is certainly a crime. Some people who are not able to meet problems and who are immersed in grief for a long time may feel disgusted with their very existence and may opt to quit by resorting to unnatural methods. References are there in sacred texts of even astute persons getting vexed and wondering why they should continue to live. So too are some who may pray to God to help them to shed their mortal coils because of certain types of incurable illness.
Why should not a person resort to any step that is not normal when he is keen not to survive any further, was explained by Sri Sugunendra Thirtha Swami. Opinion is gaining ground to excuse men who attempt to commit suicide interpreting their acts as stemming from a diseased mind. Legally such an attempt to do anything connected with suicide is punishable.
Giving an illustration, the Swami referred to the terminal illness of a person. He was aged and the doctors were fighting to put off the impending end by various ways. But the old man welcomed death. His kith and kin were determined to look after him very well till nature does her job. The patient desired to see that his end is accelerated while his children were keen to save him. Purchasing a bottle containing Poison and trying to consume it were entirely different acts. A rabid dog and so too a race-horse that suffers from a dangerous epidemic can be shot. But a man, even when he consents to any deed to alleviate his own agony, cannot be mercy- killed. Scriptures give details of the future of persons who may die premature or who my depart by adopting prohibited steps. God is the arbiter and He alone has the say about our end. Prayers will mitigate our sufferings and we can submit ourselves at His feet pleading for a peaceful journey.