Hi,
I was in your boat OP.
Buying my first flat was THE most stressful thing I have ever done.
But you get there in the end.
I think you didn't get those houses because they are not right for you. Bide your time. Keep working and saving, and wait until the right situation comes along for you. I also think it is worth repeating 'I am thankful for the right home for me, which is coming to me now.' Then just have faith and wait.
Cope with the living situation, as it will pass as a stage. Be light on your feet, do your routines as best you can and maintain a positive head space.
And when the buying process begins, wait. Be super patient. It took me about five months to sell my last place. Don't tear your hair out with the waiting, because solicitors sometimes work only half of the week, so your letter from last week, which you think should have been seen yesterday, may not even be opened until next Tuesday.
So be prepared to wait.
I know it is hard, but you are able to make it easier with your coping skills.
Focus forwards, into your happy new home, which you own. It is going to be lovely. All yours! To relax in, to get your finger tips into each corner and to learn the house, to lavish it with love, to be happy and at peace there.
I used to spend my time making lists, looking at Pinterest ideas, colour schemes and so on. Soothe myself doing it.
I know it is hard but you will get there xx