Why art thou wroth? and why is thy countenance fallen? If thou doest well, shalt thou not be accepted? and if thou doest not well, sin lieth at the door. Genesis 4:6, 7.
In the working of God's people there are always times of test and trial, and God does not design that we shall shield men and women and youth from the liabilities that test the character. God will reveal His workings and will supply His attributes to the humble people who are seeking Him. Satan also will reveal his workings and will supply every soul he tempts with his attributes, his evil surmisings, his evil speaking and accusing of the brethren.
From this condition of things, the Lord cannot possibly shield those who place themselves on the enemy's side, for God does not compel the human mind. He gives His bright beams of light as a lamp to lead and guide all who will walk in the rays reflected from Him. That lamp, His Word, is a light unto our feet. But if people disregard the path lighted by the heavenly beams and choose a path suited to their own natural hearts, they will stumble on in darkness, not knowing where they stumble or why. They will accuse and hate the very ones who make straight paths for their feet.
The history of Cain and Abel will be repeated. Cain insisted on carrying out his own plans in his offering to the Lord. Abel was steadfast in carrying out the directions of the Lord. He would not be converted in Cain's way. Although the offering of Cain was a very acceptable one, that which made the offering required at all—the blood of the slain lamb—was left out. There could be no harmony between the two brothers, and contention must come. Abel could not concede to Cain without being guilty of disobedience to the special commands of God....
The Lord preferred the offering of Abel because it was correct. His offering was of value because it prefigured the redemption plan of God in the costly offering of His only begotten Son as the hope and salvation of the fallen race.
Cain was very angry when God accepted the offering of Abel and gave no sign that He recognized the offering of Cain, because it left out the true figure, the representation of the world's Redeemer. But the Lord did not give up His way and will to conciliate Cain. He reasoned with him: “Why art thou wroth? and why is thy countenance fallen? If thou doest well, shalt thou not be accepted? and if thou doest not well, sin lieth at the door.”—Letter 16, 1897.
From Christ Triumphant - Page 36
Christ Triumphant