No. The lottery itself is not a scam.
Each state has an agency in charge of regulating and monitoring the lottery. Stores that sell lottery tickets must have a special license with this agency. And lottery tickets worth more than a certain amount must be taken directly to the agency for verification.