This is one of a set of videos with exercises for knees that hurt when going up stairs and knee(s) that collapse inwards while squatting.
No guarantees here. Most importantly use these exercises to learn to feel your body and control it.
In this second video the focus is on controlling your leg while standing on one leg. You can use your hands to help.