This is a scary thought that occurred to me, which is, do all soldiers go to hell?

I thought this because one of Gods commandments is thou shalt not kill. Surely the main job of a soldier is to kill other men. And even if he didn't actually kill anyone, he knew that he might well have to kill someone in cold blood. This is a scary thought for me, as I don't want to go to hell, but I do want to be a soldier.

If a soldier kills someone, and is a completely devout Christian for the rest of his life then will he go to heaven or hell?

One other thing is that if you confess and repent a sin then God forgives you, so if you kill someone and repent will you go to hell?

Or is it really the soldier that kills someone, what is he doesn't see the bullet land and doesn’t know that he has killed someone, or thinks that he hasn't killed them and he has. He won't know if he has killed someone, will he go to hell then?

Is the commandment 'thou shalt not kill' referring to killing someone with your bare hands, after all it is the bullet/sword/explosion/bayonet that actual kills the person.

It's a touchy subject and I don't want to get too involved but it makes you think, doesn't it?