Believe and Trust in God

Why did Jesus weep at Lazarus' grave? Was it because he loved Lazarus so much or because of the unbelief of who he was from those who were present. We need to believe God and trust and obey that His way will produce in us the faith that we need to survive the bad years ahead.