The Apostle Paul's letter to the Galatians indeed emphasizes that faith, rather than adherence to the Old Law, is the key to righteousness and salvation. This is a significant shift from the Old Testament's focus on laws and rituals.
In Matthew 17, Jesus uses the metaphor of a mustard seed to illustrate that even a small amount of faith can have powerful effects. This is a lesson to his disciples about the importance of faith in their spiritual journey and their ability to perform miracles.
Apostle Paul's Letter to the Galatians (5:6-7): Paul emphasizes that faith, not circumcision (a symbol of adherence to the Old Law), is what counts in Christ Jesus. This signifies a shift from the Old Testament's focus on laws and rituals to the New Testament's emphasis
on faith and grace.
Jesus' Teaching in Matthew 17: Jesus rebukes his disciples for their lack of faith when they fail to drive out a demon from a boy. He uses the metaphor of a mustard seed to illustrate that even a small amount of faith can move mountains. This is a lesson about the power of faith and the importance of trust in God.
In both instances, faith is presented as a crucial element in the relationship with God and the path to salvation. It's not about the size of one's faith, but the quality and sincerity of it.
Senior, Donald, et al. The Catholic Study Bible.
Third Edition, Oxford University Press, 2016.