This meaning is also in the Torah which is the Law of Moses and it is called the Old Testament by Christians.
It is clear in the Book of Leviticus, chapter 26:
"14 ‘But if you do not obey Me and do not carry out all these commandments, 15 if, instead, you reject My statutes, and if your soul...