I think people can go access the bible book but not access God Himself.
I think many people get to know about God revealed in the writings within the bible but have never had direct personal interactions together with Him.
Now that's sad. He may say to them, away from Me, I never knew you. They could say, but I knew You Jesus, I read all about You. I even applied Your words to my life. I was baptised just like You were.
Jesus could be justified in responding, I never knew You. We were never in a personal relationship. You never came to Me and you never heard My voice. You were not one of My sheep. Away from Me.
That's odd coming from someone who heard from God Himself that everybody will be saved eventually. All the way that even the devil will sit at the left hand of God the Father and Christ on the right hand of God the Father.