You shouldn't judge people by how they dress.

Literal

Clothing [means-で] people [object-を] judge must-not.

服装で人を判断してはいけない — a moral instruction using ~てはいけない (must not). で marks clothing as the basis for judgment.