Certainly sin was in the world before the Law was given, but no record of sin is kept when there is no Law.

for the Law produces wrath. Now where there is no Law, neither can there be any violation of it.

Now death's stinger is sin, and sin's power is the Law.

If you do what is appropriate, you'll be accepted, won't you? But if you don't do what is appropriate, sin is crouching near your doorway, turning toward you. Now as for you, will you take dominion over it?"

The LORD saw that human evil was growing more and more throughout the earth, with every inclination of people's thoughts becoming only evil on a continuous basis.

By this time, the earth had become ruined in God's opinion and filled with violence.

When the LORD smelled the pleasing aroma, he told himself, "I will never again curse the land because of human beings even though human inclinations remain evil from youth nor will I destroy every living being ever again, as I've done.

Now the men of Sodom were particularly evil and sinful in their defiance of the LORD.

The LORD also said, "How great is the disapproval of Sodom and Gomorrah! Their sin is so very serious!

Before they could lie down, all the men of Sodom and its outskirts, both young and old, surrounded the house.

Come on! Let's make our father drink wine, and then we'll have sex with him so we can preserve our father's lineage."

That's how both of Lot's daughters became pregnant by their father.

But the LORD considered Er, Judah's oldest son, to be wicked so he put him to death.

The LORD considered what Onan was doing to be evil, so he put him to death, too.

Everyone who keeps living in sin also practices disobedience. In fact, sin is disobedience.

We know that we have passed from death to life, because we love one another. The person who does not love remains spiritually dead.

Treasury of Scripture Knowledge

Summary

(For until the law sin was in the world: but sin is not imputed when there is no law.

Bible References

Until

If you do what is appropriate, you'll be accepted, won't you? But if you don't do what is appropriate, sin is crouching near your doorway, turning toward you. Now as for you, will you take dominion over it?"
The LORD saw that human evil was growing more and more throughout the earth, with every inclination of people's thoughts becoming only evil on a continuous basis.
When the LORD smelled the pleasing aroma, he told himself, "I will never again curse the land because of human beings even though human inclinations remain evil from youth nor will I destroy every living being ever again, as I've done.
Now the men of Sodom were particularly evil and sinful in their defiance of the LORD.
The LORD also said, "How great is the disapproval of Sodom and Gomorrah! Their sin is so very serious!
Before they could lie down, all the men of Sodom and its outskirts, both young and old, surrounded the house.
But the LORD considered Er, Judah's oldest son, to be wicked so he put him to death.

But sin

for the Law produces wrath. Now where there is no Law, neither can there be any violation of it.
Now death's stinger is sin, and sin's power is the Law.
Everyone who keeps living in sin also practices disobedience. In fact, sin is disobedience.

International Standard Version Copyright © 1996-2008 by the ISV Foundation.

All Translations
A Conservative Version
American Bible Union New Testament
American Standard Version
Amplified
An Understandable Version
Anderson New Testament
Bible in Basic English
Common New Testament
Daniel Mace New Testament
Darby Translation
Emphatic Diaglott Bible
Godbey New Testament
Goodspeed New Testament
Holman Bible
International Standard Version
John Wesley New Testament
Julia Smith Translation
King James 2000
King James Version
Lexham Expanded Bible
Living Oracles New Testament
Modern King James verseion
Modern Spelling Tyndale-Coverdale
Moffatt New Testament
Montgomery New Testament
NET Bible
New American Standard Bible
New Heart English Bible
Noyes New Testament
Sawyer New Testament
The Emphasized Bible
Thomas Haweis New Testament
Twentieth Century New Testament
Webster
Weymouth New Testament
Williams New Testament
World English Bible
Worldwide English (NT)
Worrell New Testament
Worsley New Testament
Youngs Literal Translation