Well for me, it goes back further before the things you have mentioned....
Adam and Eve to be exact.
ALL mankind was condemned under their disobedience and ALL mankind can feel that condemnation that comes from Sin & Death. So when I say LAW....
I am referring to the LAW of Sin & Death.
NO 10 Commandments were given yet, no Mosiaic Law... Just simply God's commandment to Adam and Eve. The one that brought about the Law of Sin and Death.
Hope that helps!