27 ...I beat my body and make it my slave so that after I have preached to others, I myself will not be disqualified for the prize." (1 Corinthians 9:27 NIV1984)
Too many people take false comfort in correct doctrine and service to God, not knowing that if they themselves do not come into submission to the Spirit and live according to the fruit of the Spirit they will not enter into God's blessings.
God's blessing is not contingent on knowing the truth, even correct truth. No, his blessing is contingent on a person living correct truth by the Holy Spirit. But many think simply knowing truth, and worshiping and serving correctly in a church meeting, and defending the faith, all by itself is what they need to do to be blessed. This is perhaps the biggest deception in all of Christianity. In fact, in all religions...thinking God is appeased through believing the correct facts about him and worshiping him correctly and defending the truth, alone.
22 Many will say to me on that day, ‘Lord, Lord, did we not prophesy in your name, and in your name drive out demons and perform many miracles?’ 23 Then I will tell them plainly, ‘I never knew you. Away from me, you evildoers!’ (Matthew 7: NIV1984)
25 ...the man who looks intently into the perfect law that gives freedom, and continues to do this, not forgetting what he has heard, but doing it—he will be blessed in what he does. (James 1:25 NIV1984)
This truth is seen in what Paul says about the sacred duty of circumcision so highly esteemed by the Israelites and the duty upon which their confidence rested:
"27 The one who is not circumcised physically and yet obeys the law will condemn you who, even though you have the written code and circumcision, are a lawbreaker." (Romans 2:27 NIV1984)
Possession of the knowledge of God and carrying out correct rituals, and even defending them, does NOT solicit the blessing of God all by itself (but so many are deceived into thinking it does). Obedience does.
Elijah 23 is right on. You can not be blessed if you do not obey God. It's not enough to just search out correct doctrine and defend it. It scores no points towards God's pleasure unless you are first obedient to walk by the fruit of the Spirit. Plain and simple.