The fact that you sacrificed something to God does not mean that that worship will be acceptable to God. At the end of the day, more than anything else, your heart decides the acceptability of your worship.