The ST didn’t multitask, but Amiga multitasking wasn’t memory-protected, so crashing something meant you could (would) lose everything running. It also couldn’t do the graphical tricks the Amiga could do, ceding the VFX market to the Amiga with its genlock. The Amiga’s graphics and sound were both better than the ST, but games were comparable on both, and did I mention the ST was cheaper ?
What the ST could do (and well) were things like DTP (Calamus, Calligrapher,…) and MIDI (there are still rare sightings of ST’s in audio studios, 20 years ago they were ubiquitous). Those two gave it legs to run for far longer than you might expect, because Macs were outrageously expensive at the time.