Passage
Give thanks to Yahweh, for he is good, for his loving kindness endures forever.
Give thanks to Yahweh, for he is good, for his loving kindness endures forever.
Psalms 118:1 Give thanks to Yahweh, for he is good, for his loving kindness endures forever.
Psalms 118:2 Let Israel now say that his loving kindness endures forever.
Psalms 118:3 Let the house of Aaron now say that his loving kindness endures forever.
The verse centers on "give", "thanks", "yahweh", "good", "loving", "kindness", "endures", and "forever". It is saying that the verse draws attention to "give" and "thanks", so its meaning should be read from those terms before moving to application.
The next verse adds "Let Israel now say that his loving...", so "give" and "thanks" should be read forward into that movement. In Psalms context, the local focus is worship, trust, the LORD's kingship, and covenant mercy.
A plain takeaway is to answer the verse's own emphasis on "give" and "thanks" with trust shaped by these words, not by a vague optimism outside the passage.