But the one who looks into the perfect law, the law of liberty, and perseveres, being no hearer who forgets but a doer who acts, he will be blessed in his doing. James 1:25, ESV
Liberty – ἐλευθερία – eleutheria – freedom, generosity, independence. Freedom is presented as a distinctive blessing of the economy of grace which, in contrast with the OT economy, is represented as including independence from legal restrictions and rules of life (1 Corinthians 10:29; Galatians 2:4; 5:1, 13). In contrast to the present subjection of the creature to the bondage of corruption, freedom represents the future state of the children of God (Romans 8:21; see also vv. 20, 23). The perfect law of freedom (referred to in James 1:25 [above]) is the freedom of generosity, seen exclusively in James 2:12, 13, when the Judge shows his generosity in proportion to the mercifulness of the believers on earth.
Slavery or bondage – δουλεία – douleia – servitude, dependence; the state of a δοῦλος or doulos, a slave. That state of man in which he is prevented from freely possessing and enjoying his life; a state opposed to liberty. In NT used only figuratively (Romans 8:15, 21; Galatians 4:24; 5:1; Hebrews 2:15).
For freedom Christ has set us free; stand firm therefore, and do not submit again to a yoke of slavery. Galatians 5:1, ESV
Galatians 5:1 is often used by some to teach a version of Christian liberty that is not biblical. There are some who teach that this liberty, which is for all genuine Christians, is a freedom to ignore God’s moral Law. This is a form of antinomianism. Those who teach this are giving license to believers to sin. This is not what Paul and James were talking about when they spoke of freedom in Christ and the law of liberty.