I've discovered at a club last week(long story, maybe I'll post it later) that being confident is accepting yourself, all the good & the bad.
That means you recognize that all the bad things in your life where meant to happen by your prior actions to those events and that gives you peace to work on your future.
Good luck.