Hey FML. You are not alone, there are millions of people suffering this same addiction.
Apps have exploited human psychology for profit, it’s disgusting, and it’s no wonder we fall for it, our brains are wired to receive these signals subconsciously.
So, it’s not your weakness that has caused it, you have been targeted.
As far as what to do..a support group could help as candc mentioned.
Or get some sort of restrictive app for your phone that someone else controls, and can moderate your phone behaviour according to agreed upon parameters.
Maybe get yourself an old flip phone and a commodore