1 Corinthians 11:28

Amplified Bible (AMP)
But a person must [prayerfully] examine himself [and his relationship to Christ], and only when he has done so should he eat of the bread and drink of the cup.

Read 1 Corinthians 11:28 in other translations