He said that he could no longer afford to buy the medication that she needed, and had been thinking about killing his longtime companion for several days.