And that's before we get to the relationship between Our Lords Sacrifice and the Mass.
Cains motives were bad because he did not obey the Lord and tried to earn Gods love and forgiveness his way and not Gods way.
We are not allowed to prescribe our own means of salvation..that is Gods job..
I seem to be making a mess out of explaining this so I found this on line ... it is pretty much what I think "The best conclusion that we can arrive at after studying biblical doctrine is this: Cain and Abels sacrifice (and other instances in the bible where there was shedding of blood) were merely shadows or symbols of things to come. All the previously mentioned blood sacrifices point to Jesus Christ, the ultimate sacrifice which took away all the sins of the world in the New Testament. The efficacy of atonement does not reside in the blood of bulls and goats, for these are only used as examples, or hints of what Christ would later do on Calvary, where he would shed his blood as atonement for the sins of mankind.
This is the central theme of the scriptures. The principles in the Old Testament were simply used as symbols of things to come, but everything actually points to Jesus Christ, the Jewish Messiah. In the case of Abel and Cain, Abels offering became the symbol of Jesus Christs death on the cross. Cains offering meanwhile became a symbol of human effort in trying to please God. We cannot please God by our works alone, for we can only be saved by grace through faith. The only faith that leads to salvation is trust and belief in the efficacy of Jesus Christs atonement on the cross of Calvary, where he suffered and gave his blood to redeem humanity from transgression. relijournal.com