I am dissatisfied with by life. Every time when i try to obey Allah i fail. How can i remain obedient to Allah ?

Your thinking of obedience is rehmat e Elahi, so be positive and try your best from small things. Don’t put once yourself for many good deeds. First pray from Allah Subhnatala and ask help, try to avoid place, people where you forget Allah Subhnatala, start reciting daroodh tasbeh, and astagfar tasbeeh a day, be in touch, Imam e Zaman atfs helps us