1 Corinthians 10:25-29
25 Whatsoever is sold in the shambles, that eat, asking no question for conscience sake:
26 For the earth is the Lord’s, and the fulness thereof.
27 If any of them that believe not bid you to a feast, and ye be disposed to go; whatsoever is set before you, eat, asking no question for conscience sake.
28 But if any man say unto you, This is offered in sacrifice unto idols, eat not for his sake that shewed it, and for conscience sake: for the earth is the Lord’s, and the fulness thereof:
29 Conscience, I say, not thine own, but of the other: for why is my liberty judged of another man’s conscience?
This passage is a bit difficult to parse, but here's how I understand it:
At markets a man can buy whatsoever is found because those things sold there are from the Earth, which is the Lord's. Should a man offer you food that is offered unto an idol, you should not eat of it because refusing to do so will be a testament that the Earth is the Lord's.
The principle that we can apply to us is that we ought to stand firm in the ways of the Lord when it can bless the lives of others because of our example.
Curiously, Elder Scott quoted the psalm which Paul was quoting in his 2011 General Conference October talk:
“The earth is the Lord’s, and the fulness thereof; the world, and they that dwell therein.
“For he hath founded it upon the seas, and established it upon the floods.
“Who shall ascend into the hill of the Lord? or who shall stand in his holy place?
“He that hath clean hands, and a pure heart; who hath not lifted up his soul unto vanity, nor sworn deceitfully.
“He shall receive the blessing from the Lord, and righteousness from the God of his salvation” (Psalm 24:1–5).