Someone who has been encouraged is spoken of as if he were kept from falling down.
Here discouragement is spoken of as if it were a person whose weak knees could not keep him upright.