Jodie Foster and Kristen Stewart in 2002’s “The Panic Room.”

Jodie Foster, who starred with Kristen Stewart in 2002 movie “Panic Room,” when Kristen was only 12, has become the cheating actress’s staunchest defender. She reached out to her today in her own personal blog with words of encouragement.

Stewart has been reeling ever since she blindsided boyfriend Robert Pattinson with her affair with “Snow White and the Huntsman” Director Rupert Sanders in July.

“My mother had a saying that she doled out after every small injustice, every heartbreak, every moment of abject suffering. ‘This Too Shall Pass,'” Foster wrote.

“God, I hated that phrase. It always seemed so banal and out of touch, like she was telling me my pain was irrelevant. Now it just seems quaint, but oddly true… Eventually this all passes,” she added.

Jodie’s parents Evelyn Ella “Brandy” Almond and Lucius Fisher Foster II, a decorated U.S. Air Force officer, split before Jodie was born, and Evelyn raised her while working as a film producer. Both Jodie and her mother are widely thought to be gay.

Like Stewart, Foster was a child actress. She appeared in commercials, made a guest appearance on “The Doris Day Show,” and landed her first film role in the 1970 television movie “Menace on the Mountain.” Her breakout role came in 1976 in the Robert De Niro film “Taxi Driver.” She played a teen prostitute.

The 49-year-old actress drew on her own stormy personal life, she’s been estranged from her brother for years, and experience in Hollywood to provide some insights for Stewart.

“The public horrors of today eventually blow away. And yes, you are changed by the awful wake of reckoning they leave behind. You trust less. You calculate your steps. You survive,” she wrote.

“Hopefully in the process you don’t lose your ability to throw your arms in the air again and spin in wild abandon. That is the ultimate F.U. and – finally – the most beautiful survival tool of all,” she added. “Don’t let them take that away from you.”

She also addressed the intense public interest in the lives of celebrities these days, saying it would have made her quit acting had she come up in the business now. But she also acknowledged that it was part of life.

“There’s no guilt in acknowledging the human interest in public linens. It’s as old as the hills,” she wrote. “Lift up beautiful young people like gods and then pull them down to earth to gaze at their seams. They’re just like us. But we seldom consider the childhoods we unknowingly destroy in the process.”

Check out the entire article here.