Don’t worry too much about being a bad father - as long as you are there at least some of the time and don’t beat them and their mother then they will almost certainly turn out OK.
My experience with my own children is the effect you can have on them is very limited - this is both liberating and depressing.
I mean, I might still make a terrible father, but I'm trying to imagine 23 year old me raising a child and it's terrifying.