Some dad’s are/were genuinely great – worthy of praise and gratitude. Others were or are outright jerks or villains. Most fall somewhere between these extremes. How well you did in the dad lottery is something you had no influence on. If you got a good one, enjoy your good fortune and be grateful. If your father falls short or even far short of deserving Hallmark Card sentiments, at least don’t feel guilty either for his failures or for your feelings.
It’s okay to resent a bad dad and look back with regret rather than gratitude. Just don’t dwell on what you missed and resolve to apply all you learned on what not to do so that you are the best parent you can possibly be. Maybe your children will owe a debt of gratitude to your bad dad since it made you such a better dad or mom.