10 God had given him commands about this. [He told him] not to follow other gods. But Solomon did not obey God's command.