Don Miguel Ruiz said this quote

Under any circumstance, simply do your best, and you will avoid self-judgment, self-abuse and regret.