In these early chapters of Genesis, obedience is correlated to worship of the true God, and thus to covenant keeping. Genuine covenant members obey the LORD. This is true even before the Mosaic law was given. Even before Moses, God’s people (and indeed, all people) had some awareness of God’s requirements. In the beginning Adam was created righteous (Eccles 7:29), and as such he had the law of God written on his heart. In the New Testament Paul states that all people know to some degree what God requires (see Rom 1:18-32; see also Rom 2:14-15).