Until the morning of Oct. 7, the town of Sderot in southern Israel was a parable of hope and success.…