Complex sentence: It is first mentioned (Genesis 37:17) in connection with the history of Joseph where, at the suggestion of Judah, the brothers sold Joseph to the Ishmaelite merchants (Gen.37:17).
Split into simpler sentences: It is first mentioned (Genesis 37:17) in connection with the history of Joseph. Here, at the suggestion of Judah, the brothers sold Joseph to the Ishmaelite merchants (Gen.37:17).