Sin is behaviour devoid of principles (laws). So once the word of God is set within you, you do not act without it. You let it influence your behaviour, therefore you are no longer behaving without good principles (sinning).