It’s a good question, one all writers struggle with, I think.
I’d guess most of us don’t so much have time to write as make it.
I make time to write in part by having created a day job that’s half time and fairly flexible. When I had a full-time day job I did it by living alone and the brute force of making myself stay up later than was really healthy to get the writing done. Even now it’s brute force in many ways. That, and the fact that I’ve made the conscious decision that writing is a priority, and comes ahead of all but a very few other things in my life.
How do others here find time for writing, both those who do this full-time and those who don’t?