No… it doesn’t.
Random stops do not deter criminal activity.
It only makes the innocent who are overly policed less likely to cooperate.