Knock the props out from under (someone)

To destroy someone’s confidence, to destroy someone’s emotional or financial or moral base.

The teacher knocked the props out from under the student when she criticized the student’s work.