So he began (the search) with their sacks before (searching) the sack of his brother, then he brought out the (cup) from the sack of his brother. Thus did We plot for Yusuf. It was (otherwise) not (possible) for him to retain his brother under the law of the king unless Allah willed. We raise the grades of whom We will, and above every possessor of knowledge there is (the Great) Knower.