Yes, you are correct. God is the origin of scripture and not some smart dude with robes, a beard, and a wizard's staff.
Don't mess with Gandolf!!!