How is Euthanasia involved with the fifth Commandment?

The meaning of the fifth commandment is: honor your mother and father. Euthanasia is better to ask for it in the sixth commandment which is not to kill. I am aware that when old people became old and sick the Hebrews or Israel took special until death and Euthanasia did not pass to their thoughts.