Lots of controlled movements near the range of success. Within a few iterative steps it will be foolproof. That is why they called it SN9 instead of SNFinal. Seems to me that it went as well as planned.
It was poor planning to light engines so close to the ground. Doing it higher up might have enabled re-lighting the third (spare!) engine instead. That's another three expensive Raptor engines used up, maybe unnecessarily.
But maybe the point was just to put some fear-of-god into SN10: "See what happens when you don't cooperate? It would be a shame if that happened to you."