Ephesians 5:4:

Neither filthiness, nor foolish talking, nor jesting, which are not convenient: but rather giving of thanks.

See also:

Objection: Teaching Grace Gives People a License to Sin