This phrase means that your level of success is largely determined by your attitude and your belief in yourself. It means that if you think you are capable, and if you trust your abilities, you are more likely to achieve success. It suggests that if you have a positive view of yourself and believe in yourself, you will be more likely to be successful than if you have a negative opinion of yourself and don’t think you can accomplish anything.