The specific instruction is "how" to accomplish that goal, not that the goal exists- obviously, the goal exists for the reasons you specify. The difficulty is how to get there, which is extremely hard, doubly so for a brain that doesn't necessarily have the archiecture required for fully understanding the restraint, thoughtfullness, empathy, etc. of being friendly/well-liked.