Q: Is there a cure for being displeased with Allah? This is something that is happening to me when I do not want to do it.

A: It is naivety and a lack of understanding to be displeased with Allah Ta`ala. When you believe that He is most compassionate and loving then things that seem to be distasteful are also a great blessing. It is just that you have not understood well and this led you to being displeased. So convince yourself that you do not need to understand it for it to be a blessing of Allah Ta`ala. A mother may bath the child and keep him warm and guard him against anything harmful elements, and the child kicks up a tantrum and cries but doesn't understand that overall it is for his well being. It is just that the child does not understand what is better for him.
And Allah Ta'ala (الله تعالى) knows best.
Answered by: