"If you know these things, you are blessed if you do them."
Isa 1:19, 20
"If you consent and obey, you will eat the best of the land; 20 But if you refuse and rebel, you will be devoured by the sword. Truly, the mouth of the Lord has spoken."
1 Sam 15: 22 b, 23 a
Behold, to obey is better than sacrifice, and to heed than the fat of rams. 23 For rebellion is as the sin of divination, and insubordination is as iniquity and idolatry.
James 1: 22
But prove yourselves doers of the word, and not merely hearers who delude themselves.
James 4:17
Therefore, to one who knows the right thing to do and does not do it, to him it is sin.