You are fine here.
Without calling a diagnosis into play, we could simply say this pattern is maladaptive and not in your best interest, which you now see and hope to change.
We all have something we do based upon past experiences. Your pattern made the most sense to you, given your history.
Once we gain insight into the fact that a specific pattern is not the healthiest, we then can change that pattern.
Kudos to you for gaining the insight and for admitting your past pattern. This all helps you in your healing!

WC