People who are not even fulfilling the faraaidh should definitely look at themselves before criticizing others. As for women, the reason many scholars do not recommend women from coming to the masajid for salah is that it is unnecessary and that there is much more reward for a woman to pray within her home. It is also not that women are the cause of fitnah when they come to the masajid for salah; it is that the outside environment is a fitnah for women. That is why the ulama recommend women to not leave their houses without necessity and without their mahrams. But, the masajid should have a section for women when there are lectures and women should be allowed to come and listen, albeit from the women's section. Also, the partition policy that Umar instated was carried over by the other khulafa as well. And not just Umar , but 'Aisha was also displeased by the women attending the masajid, making a distinction between how women behaved during the time of Rasoolullah and how they were behaving after he passed away. And these are the women of the best of generations. If the sahaba had issues with women coming to the masajid for salah, especially when there was no partition, then who are we to demand that women must be able to attend a masjid? If there is a partition and if women come with their mahrams, sure. But, if there is no partition, I think it is ridiculous to demand women to be able to come to the masjid.