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.