Those will have the good consequence
And those who are patient, seeking the countenance of their Lord, and establish prayer and spend from what We have provided for them secretly and publicly and prevent evil with good - those will have the good consequence of [this] home -
[Qur'aan 13:22]
(And those who are patient, seeking the countenance of their Lord) Meaning the ones who stay away from the impermissible and from sins and do so for the sake of Allaah seeking His Contentment and reward.
(and establish prayer) In accordance with its regulations and at the times when they are stipulated and by means of performing perfectly its Rukuu and Sujuud and with humility based on how it should be performed according to Islamic legislation
(and spend from what We have provided for them secretly and publicly) On those upon whom one is obliged to spend such as ones wife, relatives, and the poor and needy. They do this silently and publicly. No state of being stops them from doing this. Whether it be night or a portion of the day, they spend.
(and prevent evil with good) Meaning that they repel evil by means of good. If someone hurts them or abuses them then they accept it in a good manner by means of being patient and by forgiving the person as Allah has said:
And not equal are the good deed and the bad. Repel [evil] by that [deed] which is better; and thereupon the one whom between you and him is enmity [will become] as though he was a devoted friend.
[Qur'aan 41:34]
Reference(s):