In the second book in the Young Joseph series, Joseph's brothers grow more and more jealous of their favoured brother.
They come up with a cunning plan to take Joseph down a peg or two by throwing him in a well to give him a fright. Eventually they sell him to passing slave traders but that's not the end of his story