This fascinating Psalm is grounded in the historic story of David acting like a madman in order to escape from Abimelech (found in 1 Samuel 21). But it's written as an acrostic, designed to teach future generations about the fear of the LORD as the solution to fear.