A prominent concept in the Bible is that we cannot earn our way to heaven, no matter how hard we work or how much good we do. The person who lives the holiest life ever lived has still sinned. The good does not outweigh the bad, any more than giving to charity does not get you out of a speeding ticket or allow you to cheat on your taxes with impunity.
God does not owe mankind anything at all. Salvation is a gift--not an award. So, again, no matter how much "good" you do in your life, loving God and your neighbor or sacraments or vows of poverty or anything else, you cannot earn a place in heaven.
God "accepts" those who put their faith in Jesus and His work on the cross--not those who put their faith in their own good works of loving God and loving people.
21 But now apart from the law the righteousness of God has been made
known, to which the Law and the Prophets testify. 22 This
righteousness is given through faith in Jesus Christ to all who
believe. There is no difference between Jew and Gentile, 23 for all
have sinned and fall short of the glory of God, 24 and all are
justified freely by his grace through the redemption that came by
Christ Jesus. 25 God presented Christ as a sacrifice of atonement,
through the shedding of his blood —to be received by faith. He did
this to demonstrate his righteousness, because in his forbearance he
had left the sins committed beforehand unpunished — 26 he did it to
demonstrate his righteousness at the present time, so as to be just
and the one who justifies those who have faith in Jesus.
27 Where, then, is boasting? It is excluded. Because of what law? The
law that requires works? No, because of the law that requires faith.
28 For we maintain that a person is justified by faith apart from the
works of the law.