I was reading Galatians 2 this morning and have been having a few conversations related to supersessionism/replacement theology recently, which may seem disconnected on the surface but which are, to my mind, very connected. There aren't too many places in the New Testament where we get straight-up biographical details but Galatians 1 and 2 is Paul essentially telling his audience (the gathering of believers in Galatia) how he came to follow The Way. The is essentially the whole tone and tenor of Galatians 1 and 2 before Paul transitions into more theological stuff in chapter 3.
Starting in Galatians 1, Paul says, "You have heard, after all, about my former conduct in Judaism, how fiercely I persecuted God's assembly and tried to destroy it; I was advancing in Judaism beyond many Jews of my own age, so extremely zealous was I for the traditions passed down by my ancestors." (Gal. 1:12-14, BHT)
The key phrase in these particular verses is "for the traditions passed down by my ancestors." Paul is going to book end the first two chapters of his letter with the same idea and that idea is NOT that Judaism is bad. What Paul seems to clearly mean when he refers to Judaism in a negative way, is the traditions.
Traditions
There are two main categories of traditions that we must first distinguish between. On the one hand, there are the traditions that God prescribed. These would include high holidays (Rosh Hashanah/Yom Kippur, Passover, Sukkot, Shavuot, etc), observance of Shabbat (the Sabbath), and observance of dietary Laws (for Jews). On the other hand, there were traditions that developed over time, that had not been prescribed by God. These were often referred to as rabbinic laws or minhagim (customs). These included: ritual hand-washing (washing hands before eating and drinking), wedding and life-cycle customs, very specific dos and do nots around Sabbath observance, and the whole idea that it was forbidden to eat with Gentiles (goyim, non-Jews). Keep this last one in mind. The reason for the rabbinic laws and customs of Judaism was essentially to set up a fence around the Law (Torah) itself. The idea was, if the Law says we cannot do X, then we shouldn't even get close to doing X. This is especially true of the hand-washing regulations and the forbidden-nature of eating with Gentiles. A potential practical reason for some of the rabbinic laws was so that Jews would stay far away from ritual impurity (being in an 'unclean' state). Being in a state of ritual impurity would have made you ineligible for participation at Temple (for a period of time), which meant that you were excluded from the very heart of community life.
There's a great example of this distinction between God-commanded traditions and man-made traditions in Matthew, where Jesus and the Pharisees butt heads: