In the beginning, when there was only C, C++ was a welcome advance. Classes provided much better encapsulation than C modules and C++ added generics, which were a powerful feature for writing general purpose code.
As time went on, C++ got more and more complex. C++ always suffered from its roots where it was implemented with a preprocessor for C. The separation between class definitions and class implementations was ugly and awkward. Java showed what a much better class based language could be.
Indeed C++ is everywere, as are software security vulnerabilities caused by unchecked pointers and array references. Microsoft used C++ heavily build their software and operating system components. The result was a software base that was riddled with security vulnerabilities. This has cost Microsoft users billions and billions of dollars from hacks that could have been avoided.
There are better alternatives than C++. These include the D language, Go and Rust. Learn one of these languages, rather than C++.