Ephesians 5:4

2 and walk in love, just as Christ loved us and gave Himself up for us as a fragrant sacrificial offering to God.

3 But among you, as is proper among the saints, there must not be even a hint of sexual immorality, or of any kind of impurity, or of greed.

Nor should there be obscenity, foolish talk, or crude joking, which are out of character, but rather thanksgiving.

5 For of this you can be sure: No immoral, impure, or greedy person (that is, an idolater), has any inheritance in the kingdom of Christ and of God.

6 Let no one deceive you with empty words, for because of such things the wrath of God is coming on the sons of disobedience.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
Nor should there be obscenity, foolish talk, or crude joking, which are out of character, but rather thanksgiving.
KJV
Neither filthiness, nor foolish talking, nor jesting, which are not convenient: but rather giving of thanks.
WEB
nor filthiness, nor foolish talking, nor jesting, which are not appropriate, but rather giving of thanks.
ASV
nor filthiness, nor foolish talking, or jesting, which are not befitting: but rather giving of thanks.
DARBY
and filthiness and foolish talking, or jesting, which are not convenient; but rather thanksgiving.
BLB
and shamefulness, and foolish talk, or crude joking, which are not fitting, but rather thanksgiving.
ÅB
heller ikke skamløs ferd og dårlig snakk eller lettferdig tale, som alt sammen er utilbørlig, men heller takksigelse.
OTB
heller ikke skal det være noen obskønitet, tåpelig prat, eller grov spøk, som er upassende, men heller takksigelse.
B1930
heller ikke skamløs ferd og dårlig snakk eller lettferdig tale, som alt sammen er utilbørlig, men heller takksigelse.

Study notes (Tyndale)

Original text and word study

Cross references