"So David went with his men on the way, whilst Shimei went on the slope of the hill opposite to him, cursing continually, and pelted with stones over against him, and with earth." לעמּתו means over against him in both instances. It is not expressly stated that Shimei threw stones and earth at David, but this is implied in the context.
{"api_compact_wrapper_recipe":"native-api-generated-wrapper-v1","api_source_document_ref":"39dc60ba2f80418014e84e5d02c75e7318c5afdc08527c2536bf6fc1f8007c00","id":"sermonindex-native-api:api/c/keil-delitzsch/2SA/16.json#$/chapter/content/5","native_JSON_pointer":"$/chapter/content/5","native_content_joiner":"\n\n","native_content_part_lengths":[338],"native_reference":{"book":{"context_sha256":"5761c0e62f886bbce45ea69a80f0c4aab22f7ff71b0fba370af188250743b141","native_id":"2SA"},"chapter":16,"unit_number":13,"unit_type":"verse"},"native_unit_metadata":{"number":13,"type":"verse"},"native_unit_payload_sha256":"6f564d4f5092fff13bf1356a4b1c904f78d8b215e1d502560498d2e38a35dbbf","original_identifier_basis":"existing native API member + JSON pointer","public_import_allowed":false,"reading_text_policy":"Native full content strings preserved, with explicit double-newline joins and exact part lengths; no stripping, snippet recursion, canonical verse inference or translation.","record_type":"native-commentary-unit-unreviewed","references":[],"review_status":"structural-native-unit-unreviewed","semantic_kind_reviewed":false}