My dear brother in Islam, by the mercy of Allah, I happened to stumble upon your concern & may I answer your trouble with the most justice.
As humans, we are ungrateful to our Lords.
It is unfair that you are taking out your frustrations to Allah, about Allah, when it is you who have wronged yourself.
Allah loves to hear from you, he wants you to come closer to him & instead of complaining about what he didnt do for you, perhaps you should complain about yourself, what is it that Allah commanded you to do & out of your own weakness, you faultered.
Our beloved prophet pbuh was free from sins & yet he always seeked forgiveness from Allah.
Allah is testing you, he doesnt want to make you miserable, because as human beings, we do a good job at making ourselves miserable & Allah promises a miserable life for those who disobeys him, so establish prayer, protect your prayer & do righteous good deeds.
Know that Allah loves you, he wants what is best for you & whatever is going on in your life, it is only temporary & no days are the same, so have hope, have faith in Allah & know that Allah is with the patient.
The one thing you want to consider is how you can change the condition of your heart, because a true believer needs to return back to Allah with a sound heart, so ask yourself honestly, what is the condition of your heart right now & instead of complaining, do something about it that is within your own control.