his heart was in the right place. He just didn't do it right. more evidence: he killed paps just to kinda save paps from chara and use all the monsters hp to become more powerful to kill chara and use charas power to reset and kill frisk if she still wanna kill and do the same thing over and over again