Regret weighs heavily on our minds. Regret can hinder us from moving on. What is done is done. It cannot be undone. Humble yourself and acknowledge that you made a mistake. Accept it, learn from it, and do better next time. God always gives us another chance.
Jul27