I would go along with Wayne Brown's answer and that of jmoe as well. I would also add to their answers with this: I write a lot about things that popped in front of me during my military years (14 of those) plus, I suppose that I am something of a rebellious sort and, once out of the military I let the writing cut loose. When a person is in the service, there are so very many restrictions. A person just can't wing it on their own.
Like everyone said, if you have many experiences in your life, they help you be a better writer. I am still trying.