I think you are painting a different picture with this scenario.
When the scripture says, if you are in the light, walk in the light. if you live in the Spirit, walk in the Spirit, it recognises the fact that doing the walk does not remove the fact that salvation is a free gift.