What is the point in using private and protected variables in C++?

Writing code is the easy part. Reading code and understanding the intent of the programmers who wrote it takes most of the time. Like already mentioned you could easily make everything public and don’t look back but it won’t give the reader any nuances while they read the code.