A ledger is a book containing records of account transactions. Accounting is the process of keeping financial accounts. Accounting also means to consider or regard in a certain way. The joke is on the word "accounting" and its different meanings. 
Life’s a ledger , are we giving a good accounting of ourselves