Yes, Cain’s approach to God would have been accepted if Cain had turned to doing good. However, Cain rejected God’s counsel, killed Abel, and ended up as an outcast.
काईनाने जर वाईट मार्गातून फिरून चांगले केले असते तर त्याची उपासना देवाने स्वीकारली असती.