to find peace, we need to accept ourselves, accept that we can't be perfect, we have flaws, we can make mistake, but the imperfections we do have doesn't mean it allow us to harm or hurt ourselves or others.
Many of us are often too hard on ourselves, including me. But by accepting all sides of ourselves, at least it will be easier for us to choose the path we want, what we want, What can we do to be better and so on. Yes, when we know ourselves well, our path forward will at least be more focused.
talking about this, i have an artwork with story of my journey to find the peace. you may see the description to have the best experience in the art. (this is the link for the artwork)