I don’t believe Cruz thinks he can beat Trump in NH, but if he beats expectations than that will be a boost for his campaign, going into SC which has voters that share his views
Cruz got his work cut out in SC too. The last poll showed Trump at 40% and Cruz losing by 20% or 19% in the state.