The Lord detests the sacrifice of the wicked
but the prayer of the upright pleases him
Proverbs 15:8
Which is better, to sacrifice or to pray? It depends on your character and your heart. Sacrifice is of no value and is even rejected by God for those who are godless and evil. Prayer from those who are upright pleases God. So the lesson here is that God sees your character and your heart more than your actions and your performance.