Eternal life depends on obedience to God's articles.
Because God's command is eternal life, if what we do is not in line with God's will, it is disobedient. Adam, the former ancestor, was expelled from the Garden of Eden because of disobedience, leaving the happiness with God and entering misery, death and curse, which is also the root of our sin today.