kebab_definite JavaScript and cookies are not inherently bad, unlike what some "privacy experts" claim. Yes, websites can track you with cookies but this is usually a feature to, say, keep the user logged in. Yes, websites can track you and find out about device identifiers which can help in fingerprinting the user, but even if you disable JavaScript, websites could fingerprint you with CSS.
We won't able to 100% beat tracking and fingerprinting, but you can use a browser like Brave that mitigates fingerprinting pretty well compared to other browsers.
So your goal would be to not stand out from the crowd too much. Custom settings, disabling cookies, disabling JavaScript will instead make you stand out and will aid websites in fingerprinting you.