Biblical creation language marks the foundation of the world as the beginning of created history.
Genesis 1:1; Proverbs 8:22-31 provide broad pre-creation background.
Jesus' pre-existence is relational: before the world's foundation the Father already loved the Son, who possessed glory.
The passage strengthens John's presentation of eternal personal relationship between Father and Son while preserving their distinction.