Psalms 19:7 The Law of Yahweh is perfect, converting the soul; the testimony of Yahweh is sure, making the simple wise.
God’s Law, his morals, are for our protection and good health. When we obey them we have protection and good health.
Deuteronomy 5:33 You shall walk in all the ways which Yahweh your God has commanded you, that you may live, and that it may be well with you, and that you may prolong your days in the land which you shall possess.