EXERCISE P5–4Quotation marks
Example:

Bill Cosby once said, “I don’t know the key to success, but the key to failure is trying to please everyone.”

Bill Cosby once said “I don’t know the key to success, but the key to failure is trying to please everyone.”

In the first sentence, a comma is properly used after said to introduce the quotation.