Joseph asked for protection from Allah that they should wrong someone innocent with the sin of a wrongdoer. If they took someone other than the person in whose bag they found the bowl of the king, then they would be wrongdoers, because they would be punishing someone who was innocent and letting a criminal go free.