This is just wrong.
The Cookie Law (ePrivacy Directive of 2002 and 2009) is distinct from the GDPR. It really is a law against unconsented cookies: not just "tracking" ones but also anything that stores the user's preference: anything not "strictly necessary for the delivery of a service requested by the user".
That said, websites could certainly do a bit better here and give users a clear option of "I request a service delivered without the use of cookies, apart from the one necessary to remember this request".
[0]https://gdpr.eu/cookies/?cn-reloaded=1
[1] https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CEL...