Because of the narrative structure, Genesis 5 feels like a book-end for Genesis 1-4.
The first four chapters are where we see God step into his own creation and bring us through a difficult journey from Eden into the Wilderness, where a time of testing begins.