Genesis 15:6 New International Version (NIV)
6 Abram believed the Lord, and he credited it to him as righteousness.
Abram demonstrated his faith through his actions. It was his belief that made him right with God. You can have a right relationship with God. Trust him. Remember, your outward actions do not make you right with God. It is the heartfelt inner confidence that God is who he says he is, and he does what he says he will do. Right actions are a product of the inner heartfelt confidence and belief in God.