RigidBody/Collider sliding through surface

As you can see through this video: https://streamable.com/t3fgq

The character just keeps sliding with the rigidbody/capsule collider combination, I have tried to add friction to the ground but it didn’t help. How can I stop this ?

If anyone has this problem you need to freeze the rotation of the X and Z axis