That’s correct. OOP got a bad rap because people thought inheritance was mandatory. It isn’t. You can use composition or inheritance as you choose, depending on how well it fits with your programming solution.
In the past, inheritance may have been overused or misused, but that’s not the fault of OOP. It’s the fault of people’s education.