Do You Think Positive Attitude Leads to Success? Or That Success Leads To Positive Attitude?

I guess it is kind of a chicken and egg dilemma. If you really stop and consider it, this question is a no-brainer. In my experience, positive attitude is the precursor to success.