I think you replied to the wrong comment. If not wdym?
It doesn’t delete your stuff it just doesn’t save your history and cookies as a save browser should do. For me that little inconvenience is fine because I get a big privacy benefit out of it IMO.
I personally use Librewolf. Its just a hardened version of Firefox so you don’t have to do it yourself.
You actually don’t need the -get anymore