Neither the wording of the amendment itself nor common practice challenged the widely held belief that government guaranteed freedom of religion, not freedom from religion.
In fact, the U.S. military has bent over backwards to respect the religious beliefs of some very dangerous fanatics who want to kill us.