You are a bad dad if you never miss a bedtime. Same goes for dinner, recitals, and athletic competitions.
Being a good dad is about more than attendance. To be present and provide for your child is the bare minimum. What else are you bringing to the table?
Sharing wisdom and setting a good example are some of the greatest gifts you can give a child, however, perfect attendance in your child’s life is at odds with this. Wisdom requires a variety of experience and time for self-reflection, and setting a good example requires you actually living in a way you would want for your child. If your time is dedicated solely to your family, then you will not only miss out on many enriching experiences, you will also set an example that one should sacrifice their needs completely in the service of others. There is nobility in sacrifice, but not at such an extreme. When your cup is full, you have more to give. A much better example to set is how to balance fulfilling the needs of self vs others.
To be a good dad is to live a life worth living. Seek out new experiences. Do not forsake your friends. Find work that fulfills you. Your child will remember the wisdom of your words and life you lived far longer than whether or not you missed their game.