Atomic Habits made me stop checking my phone before breakfast
On Atomic Habits by James Clear
I'm usually allergic to self-help. Half of these books are one blog post stretched to 300 pages, and to be fair this one repeats itself too.
What worked for me was one small idea: make the bad habit harder to do. I started leaving my phone in the other room at night. That's all. Four months on I read about twenty pages most mornings instead of scrolling. You can get most of this from the first few chapters, so borrow it, don't buy it.