All three companies were in good shape, especially Hewlett-Packard and Compaq (one of two biggest PC¬ebook manufacturers).
Hewlett-Packard went all downhill in the 2000s onwards with changing CEOs doing greedy decisions and lackluster products and quality. It got worse in 2010s, and the company split to HP and HPE - now it's confusing for customers which company is responsible for what, e.g. HP "ePrint" iOS app (companion app for HP printer) is now owned by HPE and requires an enterprise login, whereas the consumer version got forked by HP and has to be discovered under a different name in AppStore. The network switches, notebook, printer, companion-software, keyboards, server storage, (most got renamed) and worse in every aspect. Yes Meg Whitman and the other CEOs (of both HPE and HP in 2010s) were bad.