Chalk it up

Chalk it up to (whatever). Often used without knowledge of its source. Any offerings regarding what drove someone to first say, "Chalk it up to inexperience!"?

To credit a payment to an account or to put it on the slate.

Brewer's Dictionary of Phrase and Fable