A thirsty deer has been walking for hours in the forest. With its keen sense of smell, it detects a freshwater stream in the distance. The deer now runs to the stream. Despite its yearning for a drink of water, it first raises its head and emits a call of thanks to the Creator. King David's thirsty soul yearned for Hashem in the same way.