Have what it takes

To have the ability or courage to do something.

I do not believe that my friend has what it takes to be a good teacher.