Sufyān’s criticism does not deny that Qurʾānic narratives can yield general lessons. It rejects treating an explicit account of Yūsuf’s brothers as a specific prediction of an otherwise unproven later event.
There is a difference between deriving a general lesson and claiming that a later event is the verse’s intended historical referent. The second requires independent, sound evidence.