The Law didn't exist until Moses, hence why he is called the lawgiver.
In the scripture that you referenced God is speaking to Noah who wasn't under Hebrew law... because it didn't exist.
In the scripture that you referenced God is speaking to Noah who wasn't under Hebrew law... because it didn't exist.