David was truly a man after God's own heart.  David surrendered as he lifted his hands in worship.