Yes, it is an admonition or commandment from Paul, though not like the Ten Commandments.
Watch the Teaching: Why Didn't God Answer Paul's Prayer to Escape Suffering?