Legalism says God will love us if we change. The gospel says God will change us because He loves us.
Legalism breeds a sense of entitlement that turns us into complainers.