3D animation only moves sideways for no reason

Hi!
I’m new to Unity 3D and I wanted to implement some animations I made but every time
I implement a 3D animation the same thing happens and the character turns 90 degrees and flies off.
I’ve tried different tutorials, made different characters and animations but it seems like I always
make the same mistake and I just don’t know what to do.

I recorded some footage of what is happening:

By making the Animation Generic and a lot of bad practices combined I now have an idle animation.
I would still love a sollution but for now making the animation type Generic did a good job.