Psalm 34:18 “The Lord is nigh unto them that are of a broken heart; and saveth such as be of a contrite spirit.”
If we stopped paying attention to our spiritual life, we began to feel we're far from God. We can be carried away by our daily activity sometimes which will make us far from God. Sin is another thing most especially if that particular sin is what we think we must do everyday to put food on our table. God always wants us to come back to him, because he always loves and cares for us.
Isaiah 59:2 “But your iniquities have separated between you and your God, and your sins have hid his face from you, that he will not hear.”
During hard times and we pray, but God didn't intervene immediately. We will begin to think God has left us. Sin is another barrier that makes God not listen to our prayers. We have to stay away from sinful acts and always ask for forgiveness whenever we sin against God.