A Sharp Condition for the Ground State of Difference Equation