There were even stories they deliberately sabotaged Lotus 123 (spreadsheet application) on Dos. There is an infamous quote:
" DOS Isn’t Done Until Lotus Won’t Run "
although this article and others say it probably never happened in reality
https://raywoodcockslatest.wordpress.com/2021/06/09/dos-lotu...
It's common spiel, but for many cases they really had a superior product, even if it was combined with anti-competetive approaches, the competitor were often deficient even if there were no such approaches
They won by owning the distribution. Essentially making it the default option for businesses. Bundling with Office, owning the operating system (eg. Making competing products error out), licensing deals and many other things very similar to their Embrace, Extend, Extinguish strategy (which they used against open standards)