I say, “Keep the king’s command!” because of the oath to God. Don’t be hasty to go out of his presence. Don’t persist in an evil thing, for he does whatever pleases him, for the king’s word is supreme. Who can say to him, “What are you doing?” Whoever keeps the commandment shall not come to harm, and his wise heart will know the time and procedure.
Traditional attribution
The text names “the Preacher, son of David, king in Jerusalem.” Solomon is the traditional identification.