These are steps 4 and 5 of the 12 step program from alcoholics anonymous :
STEP 4. Made a searching and fearless moral inventory of ourselves.
This step requires self-examination that can be uncomfortable, but honesty is essential in this process. The key is to identify any areas of past regret, embarrassment, guilt or anger.
STEP 5. Admitted to God, to ourselves, and to another human being the exact nature of our wrongs.
This step involves admitting to past poor behavior. Often, alcoholics will share what they wrote down during the previous step with their sponsor.