I don’t think so. It’s more of a sin to try and extend life when it’s not viable to do so, meaning that spending tens of thousands or hundreds of thousands of dollars when your condition is inevitably terminal.
It’s better to get your affairs in order and do some amount of good in your final days and just keep yourself comfortable until the end.
This is where the "black and white" of right and wrong starts to get into a very gray area. You're right about the necessity for weighing the cost of care against the viability of a cure. The problem is that "viable" is inherently subjective and will always be prone to human error.
That’s not what I am talking about. That’s completely different.
This is suicide, make no mistake. Do not be deceived.
It is suicide, and it is murder. It is also motivated out of greed. God has no care for material possessions, or your tens of hundreds of thousands of dollars. This isn’t some piece of paper or a house in the country, a car or boat. It is your immortal, eternal soul, and you are playing afterlife roulette with a fully loaded weapon. Do not make the mistake of thinking otherwise. It is a carefully manipulated act of pure evil clothed in fake sympathies and hollow words.
Think on this.