ANSWER:
So you are saying that Just because you pray and stay away from haram, you shouldn’t be tested with sufferings?
The prophets were the best in the religion and they were tested the most!
Gain more knowledge of Islam and learn all the meanings of the words recited during Salah to increase your khushoo and get professional help for depression if needed from a Muslim psychiatrist.