The Zohar says when Reuven told his brothers that they should throw Yoseph into the pit that was considered an act of chassidus. Why? Reuven acted in a deceitful manner and that was going against his very nature. Therefore it was considered an act of chassidus