Jada Pinkett Smith (left), Tupac Shakur (center) and Will Smith (right).Photo: Neilson Barnard/Getty Images; Raymond Boyd/Getty Images; Frazer Harrison/Getty Images

Jada Pinkett Smith, Tupac, Will Smith

Pinkett Smith, 52, published a brief excerpt from her upcoming memoirWorthyonInstagramin which she wrote about the moment when she, Shakur, and Smith, 54, collided.

She included a video of herself and Shakur dancing to the 1988 Grammy-winning hit Smith scored as one-half of the duo DJ Jazzy Jeff & The Fresh Prince.

“Not in a million years would I have dreamed thatthe Fresh Princeand I would become, um, very acquainted,” Pinkett Smith wrote. “Not in a million years did I imagine three lives, their fates, would be so intertwined.”

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human interest stories.

Pinkett Smith later shared the full video onInstagram. “Here is part of the original video of Pac and I doing a terrible job at lip syncing Parents Just Don’t Understand,” she captioned the second post.

Pinkett Smith and Shakur,who was killed in September 1996, attended the Baltimore School for the Arts in Maryland as teens.They quickly became friendsand their relationship was depicted in the 2017 biopicAll Eyez on Me, with Demetrius Shipp Jr. as Shakur andKat Grahamas Pinkett Smith.

In a2015 interview with Howard Stern, Pinkett Smith recalled how she “never in my life met a person like Pac,” adding that Shakur had “so much charisma.”

Tupac Shakur (left) and Jada Pinkett Smith (right).Ron Galella, Ltd./Ron Galella Collection via Getty Images; Jon Kopaloff/Getty Images

Tupac Shakur; Jada Pinkett Smith

“You know, it’s so funny because now being older, I have more of an understanding of what that was between us,” Pinkett Smith told Stern, 69, when explaining how their relationship never turned romantic. “When you have two young people that have very strong feelings, but there was no physical chemistry between us at all, and it wasn’t even just for me – it was him too.”

TheRed Table Talkhost believed the “higher power just did not want that,” telling Stern, “We might have killed each other because we were both so passionate and we love deeply.”

Worthyis scheduled to be released on Oct. 17, the day after Pinkett Smith begins a book tour in New York.

“I had so many people encourage me to write a book,” Pinkett Smith told PEOPLEwhen announcing the book in June. “But I was believing that my journey was not a worthy journey. But when I saw it on paper — I couldn’t help but look at myself and say, wow. What a life."

source: people.com