system
Given the following post, respond as if you're commenting on Reddit:
human
Euthanasia

Euthanasia and suicide are generally prohibited among the major religions and legal systems of the world. Interestingly, in both the new and old testament, there are references endorsing the idea that there are some circumstances in life in which it's better not to be alive. In Ecclesiastes, the author says the most fortunate one is the one who was never born at all because he wont have to experience the injustice of the world. Stoics also believed suicide was a legitimate exit when the world becomes unlivable.

Of course there are clear moral arguments against euthanasia and suicide for young people or people who have others depending on them. Why is there now a general consensus among religions and the law that suicide is bad when it used to be widely accepted, for certain situations?
gpt
>Why is there now a general consensus among religions and the law that suicide is bad when it used to be widely accepted, for certain situations?

This is a question for historians or similar sorts of people. 

There are of course nearby Philosophical questions one can ask.