Is there a formula for entrepreneurial success?

Years ago when I was struggling there were times I felt I was missing the entrepreneurial and wealth gene. I thought if I had only been born into a family of successful people, those mindset values would have been passed down to me and I would automatically be able to make the right decisions, take the correct risks and turn mud into gold.