Americans David Boudia (left) and Steele Johnson (second left) repeatedly said "4:6" ahead of their dive, referring to Philippians 4:6.
It says: "Do not be anxious about anything, but in every situation, by prayer and petition, with thanksgiving, present your requests to God."
The pair went on to claim silver behind China and ahead of Brits Tom Daly and Dan Goodfellow who came in third with a bronze medal.
Johnson, who was seriously injured during a diving accident when he was 12, praised God in an interview after his win.
"When something like that happens in your life, a near-death experience, you don't know where you're going to be going with your life.
"I could have stopped diving. I could have gone back to middle school and just been normal and played different sports like football or soccer.
"The fact that God gave me the ability to stick with it and persevere and not have fear and anxiety about diving, it all worked out in the end."
The pair are well-known in America for their strong faith and since being joined as diving partners they have regularly prayed together.
Johnson said of his team mate: "I've learned so much from this guy about diving, about life, about faith, about being a man that I wouldn't be where I am today without this guy teaching me along the way."