It's more fun to be a pirate than to join the Navy.
Notes from Wikiquote
As quoted or paraphrased in Young Guns: The Fearless Entrepreneur's Guide to Chasing Your Dreams and Breaking Out on Your Own (2009) by Robert Tuchman, p. 18
Variants
Why join the Navy . . . if you can be a pirate?