Is encouragement what the poet needs? Open question. Maybe he needs discouragement. In fact, quite a few of them need more discouragement, the most discouragement possible.
We must resist wandering thoughts in prayer. Raising our hands reminds us that we need to raise up our minds to God, setting aside all irrelevant thoughts.