When my wife started her affair, I had a facebook account and was "friends" was a man I did not know...but he was part of a church group I belonged to and always posted the Bible daily.

I was devastated and asked him to pray, which he said he would. He also told me "Trust nobody but the Lord Jesus."
He encouraged me not to rely on human wisdom, wise as it may be, but to rely on the written Word of God for guidance.
It was the best advice I received. God's Word is absolute truth and can see us through any hardship if we trust Him.