It isn't a sin to doubt God. Doubt is a normal process that believers must go through to grow in maturity.