Mahatma Gandhi said this quote

If I have the belief that I can do it, I shall surely acquire the capacity to do it even if I may not have it at the beginning.