Bible Trivia Question for Monday 11/20/2023

In the book of Samuel when did King David give thanks to the lord.?