The Israelites are encouraged to praise God for what he has done for them:
20 You shall fear the LORD your God. You shall serve him. You shall cling to him, and you shall swear by his name. 21 He is your praise, and he is your God, who has done for you these great and awesome things which your eyes have seen.
David, in one of his Psalms, expresses the same sentiments:
1 I will give thanks to the LORD with my whole heart.
I will tell of all your marvellous works.
2 I will be glad and rejoice in you.
I will sing praise to your name, O Most High.
In another Psalm David encourages everyone to praise God at all times:
1 I will bless the LORD at all times.
His praise will always be in my mouth.
2 My soul shall boast in the LORD.
The humble shall hear of it and be glad.
3 Oh magnify the LORD with me.
Let’s exalt his name together.
The prophet Daniel praises God when he shows him the king's dream:
23 I thank you, and praise you,
you God of my fathers,
who have given me wisdom and might,
and have now made known to me what we desired of you;
for you have made known to us the king’s matter.”
On more than one occasion, the people praise God after they have seen the miracles that Jesus has done:
42 Jesus said to him, “Receive your sight. Your faith has healed you.”
43 Immediately he received his sight and followed him, glorifying God. All the people, when they saw it, praised God.
37 As he was now getting near, at the descent of the Mount of Olives, the whole multitude of the disciples began to rejoice and praise God with a loud voice for all the mighty works which they had seen,
The apostle Peter says believers should praise God for being called out of darkness:
9 But you are a chosen race, a royal priesthood, a holy nation, a people for God’s own possession, that you may proclaim the excellence of him who called you out of darkness into his marvellous light. 10 In the past, you were not a people, but now are God’s people, who had not obtained mercy, but now have obtained mercy.