It's an ancient Christian oxymoron. "Free gift" with lots of strings.
We are told to freely forgive others as we have been forgiven. Am I doing that if I require repentance and conformity to my will from others?
The book of James was written precisely because the author thought he had a solution. Freely forgiven IF you do the right works and have correct beliefs which you would have if you truly appreciated the free gift. Chicken or the egg type of logic.
Or stated another way: I gave my wife a "gift" trip to Paris, she only had to work for the money to buy the tickets which she would do if she really wanted to go.