David's rescue of the Israelite town of Keidish from the Philistines even though it would reveal his whereabouts to Saul who was seeking to kill David and how the town of Keidish then betrayed David into Saul's hand. In spite of all of this, David still gave a Thanks Offering to God.