Usul al-Kafi
Book 5:
The Book of Belief and Disbelief

Chapter 35
Confession of sins

687. 1. Imam Musa al-Kazim (p): It is obligatory upon you to strive to do good and always confess your shortcoming in your obedience and worship of God, as nobody can claim full obedience to God.(B5,C35,T1)

688. 3. Imam Musa al-Kazim (p): A person from Bani Israel was worshipping God for forty years, but when he offered a sacrifice, it was rejected. He attributed the rejection to his own shortcomings. God revealed to him saying; this reproach of thy own self is much better than thy worship of forty years.(B5,C35,T3)
689. 4. Imam Musa al-Kazim (p): …Always underestimate whatever good deeds you do, because in all actions in which people are duty-bound to God, they will not be flawless, except the actions of those whom God has made infallible.(B5,C35,T4)