So too during the times he cannot learn, he should think of the money he will give to charity and that is as if he is offering sacrifices to G-d like they did in the Temple.