Your confession must be an act you committed. The term presumes that you are providing information that you believe other people in your life are not aware of, and that is an admission of a moral or legal wrong.
A confession is a statement acknowledging some personal fact that you would ostensibly prefer to keep hidden.