Breaking a promise which one made to Allah Ta'ala
Q: While I was suffering from a bad condition, I started seeking forgiveness (saying استغفرالله) and I asked Allah to remove the bad condtion of mine, and in my heart I promised Allah to do specific religous deeds when the bad condition is removed (as I thought the bad condition is fom my bad deeds). Is this promise regarded as an عهد or نذر? Can I pay kaffarah and abondon doing according to my promise, as it is very difficult for me to do what I promised? If I neglect my promise, would it be like this aayat:
وَمِنْهُم مَّنْ عَاهَدَ اللّهَ لَئِنْ آتَانَا مِن فَضْلِهِ لَنَصَّدَّقَنَّ وَلَنَكُونَنَّ مِنَ الصَّالِحِينَ فَلَمَّا آتَاهُم مِّن فَضْلِهِ بَخِلُواْ بِهِ وَتَوَلَّواْ وَّهُم مُّعْرِضُونَ فَأَعْقَبَهُمْ نِفَاقًا فِی قُلُوبِهِمْ إِلَی یَوْمِ یَلْقَوْنَهُ بِمَا أَخْلَفُواْ اللّهَ مَا وَعَدُوهُ وَبِمَا کَانُواْ یَکْذِبُونَ