If a person is trying to quit his bad addiction if he fails then keeps trying and never gives up trying and on the side he also have a social page where he posts hadiths of Ahlulbayt a.s and sayings of some scholar which benefit and encourages him to keep trying and never give up and be a better person than yesterday, will that person be considered a hypocrite?

He will not be considered hypocrites so long as he keeps trying and determining to change.