And Joseph had already come to you before with clear proofs, but you remained in doubt of that which he brought to you, until when he died, you said, ‘Never will Allah send a messenger after him.’ Thus does Allah leave astrayhe who is a transgressor and skeptic.”
Meaning:-
Astray: into error, away from the correct path or direction
Transgress: to violate a law, command, moral code, etc.; offend; sin.
Skeptic: doubter.