Actually fun fact: she never actually said "Let them eat cake". It's BS.
She said "Let them eat brioche". ("Qu'ils mangent de la brioche.")
Fun fact 2: she never said this anyway. It's a total myth. It's a quote from Jean-Jacques Rousseau.
(Don't believe me? Google it and get back to me if I'm wrong.) It was wrongly attributed to her. It's like all those quotes misattributed to Einstein you see on memes all the time.
School lied to you all lol. (Wouldn't be the first time lol.)
Sorry to be that guy lol. But I care about truth.
TL;DR: It's total bullshit, sorry.
Also you wrote "media" twice oops. (At least you spelled "foment" right, so you get points lol.)
Look it up and if I'm wrong I'll buy you a beer lol.
So TL;DR: You're actually right. She never did say it. It's a myth that far too many people still believe.