Two wrongs do not make a right

Your faults are not excused by the faults of somebody else. This means the same as Two black do not make a white.