These are what we call the 'YMMV items.' Things that some people find in this work. We call them 'your mileage might vary' because not everyone sees these things in the same way. This starts discussions in the trope lists, a thing we don't want. Please use the discussion page if you'd like to discuss any of these items.
Joseph's brothers selling him into slavery would count, except they truly regret it and unhesitatingly offer their own lives for Benjamin's because they can't bear the thought of doing it again.
Potiphar's wife accusing Joseph of raping her because he rejected her advances is despicable, but she stops him from being executed (exposing her lies to her husband,) because she can't bear to go that far.
Potiphar seems to feel that he crossed it when he has Joseph imprisoned to avoid having to face the truth that his wife was lying, despite clearly knowing deep down that Joseph was innocent. Joseph's forgiveness clearly shakes him.