Schr\"odinger operators, Jacobi matrices, bound states, Szeg\H{o} condition