You may be shot, blown up, lose a limb, and all sorts of other horrible deaths. You may never go to a war zone and never be in harms way. You may die in a car accident completely unrelated to military service. The fact of the matter is the ultimate purpose of the military is to fight a war. War is dangerous, you may die fighting one. That's your risk.
With that said, MOST people in the military are NOT warfighters. They are not the troops along the front, the Spec-Ops doing raids, the pilots dropping bombs, etc etc etc. The support structure of the military, of which if it did not exist there would be NO military, is by far much larger than the combat structure.
Take that for what it's worth.
Gross generalization. Most people I know joined the Navy to travel and see the world. Joining the military, you are subject to the whims of national policy. In Clinton's time, that meant more deployments as peace-keepers in 8 years than in all of the US military history. Today it usually means the big Sandbox. It could also mean Germany, Japan, Italy, Bosnia, England, and all sorts of strange locations. It could also mean you never ever leave the USA.
Put it this way... you can join the Navy and never set foot on a ship or boat. The military has all sorts of options.