It is not made absolutely clear when this psalm was written but it seems likely it is from the time of the Exodus when the Israelites were saved from slavery in Egypt. It can help us in situations in our own lives when we need God’s rescue. Give thanks to God for his goodness and his unfailing love that endures forever.