I don't think there's anything wrong with prostitution -- it should be legal, regulated and taxed like any other personal service from massage to manicure.

It being illegal is what makes it so sordid and undesirable, because forcing something underground brings in the criminal element to run things.

As to whether it's better or worse than being a soldier, I'll simply say that I hope you never have to live in a country whose soldiers are unwilling to fight and die for your safety and freedom when some neighbor-state decides they want what you have.