William Hazlitt said this quote

As is our confidence so is our capacity.