God can see inside your mind and soul, it is just a matter of surrendering to his will. There is no special formula to being lifted out of the pit. Like attracts like and opposites never attract. Your soul is part of God and always seeks to be reunited with him, it is you that is keeping your circumstances apart.
