Today I was talking with a man, and we talked the situation in a country and then he said something along the lines that this country won’t fall and I replied with, if Allah wills (we were speaking arabic so Allah is just God)

As I was saying it, I though that to him Allah means Prophet Jesus (as), then for some reason I decided to believe that Prophet Jesus (as) is God for like a second, it felt like a true belief, then I snapped back, did I commit shirk?

It does not count as shirk because it is a fleeting thought which you did not have any conviction in