At its root, legalism is the failure to see the generosity of God and his wise and loving plans for us. Legalism is rooted in a distorted view of God as the giver of his law. This is what the article helpfully explains, by using the first sin in Paradise as proof.
Source: Crossway, 2016. 5 pages.