It is narrated from Imam Sadeq (AS) who said: A man from Kufah wrote a letter to Imam Hussain (AS) saying: O’ my master, make me aware about the good of this world and the hereafter. Imam Hussain (AS) replied: In the name of Allah (SWT) the most merciful, the most compassionate; and then, whoever seeks the satisfaction of God even if people are unhappy and angry with him/her, God will suffice for such a person and he/she is protected from whatever others want to do. And whoever seeks the satisfaction of people, although it leads to Divine Wrath, God will remove Divine Protection and leave him/her to people [1].
[1] Beharul Anwaar, Vol. 75, Page 126.