Questioning sincerity when struggling
As-salamu alaykum. Imagine someone whose life is filled with so much pain that they mentally start leaning towards ending their own life. But knowing the severe punishment of doing this (never-ending punishment in Jahannam) makes them hold back and keep living somehow. Their suffering reaches a point where they stop caring about everything, even Jannah; they just don't want to exist anymore. But they can't do anything to become nonexistent. They respect Allah and don't want to disobey Him, wishing to follow the right path solely for Allah. However, their pain pushes them so far from life that they almost lose motivation to stay on that path for Allah. Because Jahannam is such a terrifying place, they end up focusing only on avoiding it. So they follow the right path mainly just to stay out of Jahannam. Ideally, they want to be the person who does everything for Allah, but in reality, they're just living and staying on the right path to avoid punishment. My question is, does this make them insincere in their faith? I'm confused because they're mostly thinking about themselves when following the right path, and it's not really for Allah. (It's not that they don't care about Allah, but thinking about pleasing Allah doesn't motivate them anymore.) Thank you for listening. Jazakallahu Khairan.