I’ve pointed this out to you before, but your idea would have meant that Britain wouldn’t have restricted Nazis entering the country in the 1930s, which would have been disastrous.
A nation needs to make sure that those entering their territory don’t intend to, nor are likely to, cause harm to those already living there. Importing people who think things like women should have their legal rights restricted, which is a mainstream view amongst Muslims, is bonkers, therefore care needs to be taken over which Muslims are let in.
Less care needs to be taken with letting in the likes of native French people, for example, whose views are usually more closely aligned to typical British attitudes and will thus likely present less of a problem.