Al-Hasan Al-Basri may Allāh have mercy on him said:" Patience is from the treasure among the treasures of goodness, Allah only gives it to His honoured and respectable slave". [As-Sabr wa dhawab
Happiness is attained by three things:Being patient when tested, Being thankful when receiving a blessing, being repentant upon sinning. Ibn Qayyim Al-Jawziyyah