Blasphemous thoughts

Question Assalamu Alaikum. Very bad thoughts, blasphemous thoughts have been coming to my mind. I remember a hadith from Sahih al-Bukhari, hadith 5289, that one is not held accountable as long as he doesn’t act upon or utter those evil thoughts in his mind....