Other truths are incidentally taught in this narrative.

(1) The acceptance of the offering depends on the acceptance of the offerer. God had respect to Abel and his offering--the man first and then the offering. God looks through the offering to the state of soul from which it proceeds; or even, as the words would indicate, sees the soul first and judges and treats the offering according to the inward disposition. God does not judge of what you are by what you say to Him or do for Him, but He judges what you say to Him and do for Him by what you are. "By _faith_" says a New Testament writer, "Abel offered a more acceptable sacrifice than Cain." He had the faith which enabled him to believe that God is, and that He is a rewarder of them that diligently seek Him. His attitude towards God was sound; his life was a diligent seeking to please God; and from all such persons God gladly receives acknowledgment. When the offering is the true expression of the soul's gratitude, love, devotedness, then it is acceptable. When it is a merely external offering, that rather veils than expresses the real feeling; when it is not vivified and rendered significant by any spiritual act on the part of the worshipper, it is plainly of no effect.

The Expositor's Bible: The Book of Genesis — Part 21

What is true of all sacrifices is true of the sacrifice of Christ. It remains invalid and of none effect to those who do not through it yield themselves to God. Sacrifices were intended to be the embodiment and expression of a state of feeling towards God, of a submission or offering of men's selves to God; of a return to that right relation which ought ever to subsist between creature and Creator. Christ's sacrifice is valid for us when it is that outward thing which best expresses our feeling towards God and through which we offer or yield ourselves to God. His sacrifice is the open door through which God freely admits all who aim at a consecration and obedience like to His. It is valid for us when through it we sacrifice ourselves. Whatever His sacrifice expresses we desire to take and use as the only satisfactory expression of our own aims and desires. Did Christ perfectly submit to and fulfil the will of God? So would we. Did He acknowledge the infinite evil of sin and patiently bear its penalties, still loving the Holy and Righteous God? So would we endure all chastening, and still resist unto blood striving against sin.

The Expositor's Bible: The Book of Genesis — Part 21