It's not a story, it was a result of a deep religious conviction.
There were many, not just Quakers, who refused combat assignments for religious reasons. They served in other capacities, along with the Quakers.
However, some did refuse to serve at all.

