One of the most difficult things to deal with in life is regret. Sometimes something will happen, and you will respond in the wrong way, and for a while thereafter you will wish you had done it differently. But eventually, you accept the experience as a lesson learned and you move on with your life.
This is hardly the worst kind of regret. What could be worse?