Because of his faith, Abel offered a better sacrifice than his brother Cain did.
4 It was because Adam’s son Abel trusted God that he sacrificed something better to God than what his older brother Cain offered to God. Because Abel did that, when God spoke well about what Abel sacrificed, God declared that Abel was righteous. And although Abel is dead, we still learn from him about trusting God.
Hebrews 11:5-12