Romans 12:2

And be not conformed to this world, but be ye transformed by the renewing of your mind, that ye may prove what is that good, and acceptable, and perfect will of God.

Ephesians 4:17

This therefore I say and testify in the Lord, that ye no longer walk as the rest of the Gentiles, in the vanity of your mind:

1 Peter 4:3-4

For the time past of your life sufficeth to have wrought the will of the Gentiles, when ye walked in lasciviousness, evil desires, excess of wine, revellings, banquetings, and abominable idolatries.

Treasury of Scripture Knowledge

Summary

Take heed to thyself that thou be not snared by following them, after that they be destroyed from before thee; and that thou inquire not after their gods, saying, How did these nations serve their gods? even so will I do likewise.

Bible References

How did

Romans 12:2
And be not conformed to this world, but be ye transformed by the renewing of your mind, that ye may prove what is that good, and acceptable, and perfect will of God.
Ephesians 4:17
This therefore I say and testify in the Lord, that ye no longer walk as the rest of the Gentiles, in the vanity of your mind:
1 Peter 4:3
For the time past of your life sufficeth to have wrought the will of the Gentiles, when ye walked in lasciviousness, evil desires, excess of wine, revellings, banquetings, and abominable idolatries.