Those words came from someone else.
More concisely, God never “said”. Since He has no body, He also has no voice. Not a sound as we understand it. It doesn’t stop there, either. By whatever means He communicated with mankind those first times, if He did any input on the bible, it wasn’t in English. That language had yet to be created. The bible, as I’ve said in the past, is the greatest fiction…