The most important thing is love for others. The one who loves has known God and trusts in God and Has Faith in God.
A famous example:
Luke 19:
5When Jesus reached the spot, he looked up and said to him, “Zacchaeus, come down immediately. I must stay at your house today.”
6So he came down at once and welcomed him gladly.
7All the people saw this and began to mutter, “He has gone to be the guest of a sinner.”
8But Zacchaeus stood up and said to the Lord, “Look, Lord! Here and now I give half of my possessions to the poor, and if I have cheated anybody out of anything, I will pay back four times the amount.”
9Jesus said to him, “Today salvation has come to this house, because this man, too, is a son of Abraham.
10For the Son of Man came to seek and to save the lost.”
Salvation came to Zacchaeus because he changed his heart towards others and this is faith, not the other popular kind being taught today.