That’s not going to be enough. With default browser settings just going to facebook.com, much less logging in, will set tracker cookies in your browser which will then start tracking you. You will have to manually remove all facebook cookies after every visit (go to browser settings and search cookies containing the word facebook). Facebook is a menace. It served an important purpose once upon a time by bringing people together. Now that everyone has everyone else’s contact info there’s no need to be on it.
Cookies were introduced in 1995 in IE2.
Facebook didn’t invent this technology - nor is it exclusive to their platform.
It shouldn’t be a shock that FB sets cookies.