Why does my model become distorted when adding bones with Automatic Weights? After adding bones to the model, the whole model breaks down horribly.

Here are screenshots:

Before: https://ibb.co/Ycm9QVL


After adding bones to the model With Automatic Weights: https://ibb.co/2sXCVxx

Maybe someone knows why this happens?
Blenders automatic weights are pretty meh. especially for a model of that complexity. youll probably be better off using manual weighting or envelope weighting