Why are commands and a prohibition connected in this verse?

Al-Waṣl: Connecting Clauses, Semantic Bonds and Circumstantial Wāw