For the O.P. and the original question, you can read the following Papal Encyclicals and see why free masonry is anathema to the Church:
papalencyclicals.net/Leo13/l13human.htm
papalencyclicals.net/Clem12/c12inemengl.htm
Pope Clement XII
“Therefore, bearing in mind the great harm which is often caused by such Societies or Conventicles not only to the peace of the temporal state but also to the well-being of souls, and realizing that they do not hold by either civil or canonical sanctions; and since We are taught by the divine word that it is the part of faithful servant and of the master of the Lord’s household to watch day and night lest such men as these break into the household like thieves, and like foxes seek to destroy the vineyard; in fact, to prevent the hearts of the simple being perverted, and the innocent secretly wounded by their arrows, and to block that broad road which could be opened to the uncorrected commission of sin and for the other just and reasonable motives known to Us; We therefore, having taken counsel of some of Our Venerable Brothers among the Cardinals of the Holy Roman Church, and also of Our own accord and with certain knowledge and mature deliberations, with the plenitude of the Apostolic power do hereby determine and have decreed that these same Societies, Companies, Assemblies, Meetings, Congregations, or Conventicles of Liberi Muratori or Francs Massons, or whatever other name they may go by, are to be condemned and prohibited, and by Our present Constitution, valid for ever, We do condemn and prohibit them.”
And yes, this is still a problem today:
eponymousflower.blogspot.com/2013/05/priest-excommunicated-for-membership-in.html
Some will role their eyes when subjects like this come up. They will point out that this is ancient history, old fashioned superstitions, “we are modern now”. But i would counter that the evil one is constantly on the attack and these groups are even more insidious today than they have ever been. And we must be ever vigilant against heresy and the loss of souls to the father of all lies.
H.H. Pope Francis:
“Thirdly, professing. We can walk as much as we want, we can build many things, but if we do not profess Jesus Christ, things go wrong. We may become a charitable NGO, but not the Church, the Bride of the Lord. When we are not walking, we stop moving. When we are not building on the stones, what happens? The same thing that happens to children on the beach when they build sandcastles: everything is swept away, there is no solidity. When we do not profess Jesus Christ, the saying of Léon Bloy comes to mind: “Anyone who does not pray to the Lord prays to the devil.” When we do not profess Jesus Christ, we profess the worldliness of the devil, a demonic worldliness.”
lifesitenews.com/resources/to-walk-to-build-to-confess-pope-franciss-first-homily