Before you can lead others well, allow God to lead you well. Notice how David responded to a difficult time in his leadership journey.
Now David was greatly distressed, for the people spoke of stoning him, because the soul of all the people was grieved, every man for his sons and his daughters. But David strengthened himself in the LORD his God. 1Sam 30:6