The drone is not stable

Nothing about that config. I was replying to your parameter file where Dshot was not configured nor was Bdshot configured and you had not set the SERVO_DSHOT_ESC parameters.

Are you still on default parameters or have you read the tuning docs and acted on them? Many are pre first flight so clearly you missed those or we wouldn’t have a video of your craft oscillating.
Tuning Guide
Tuning Blog