"As we were preparing to take the train, we felt very solemn, and proposed a season of prayer; and as we there committed ourselves to God, we could not refrain from weeping. We went to the depot with feelings of deep solemnity. On boarding the train, we went into a forward car, which had seats with high backs, hoping that we might sleep some that night. The car was full, and we passed back into the next, and there found seats. I did not, as usual when traveling in the night, lay off my bonnet, but held my carpetbag in my hand, as if waiting for something. We both spoke of our singular feelings. LS 153.2"
"Confess your faults one to another, and pray one for another, that ye may be healed. The effectual fervent prayer of a righteous man availeth much."
Both passages emphasize the importance of prayer, especially in times of difficulty. The James passage is a general exhortation to pray for one another, while the EGW passage describes a specific instance of prayer before a journey.