The invitation is indeed freely given by God, but it has to be properly accepted by those to whom it is addressed. Mere admission to the kingdom is no guarantee of staying in it.