Use the phrase when you would like to express something is finished, considered, or you would like to say something important/a fact.
"When all is said and done, she isn't such a bad person." (when all is considered)
"When all is said and done, I think I did well in school." (when something is finished)
"When all is said and done, America started the war." (fact)