The princes
sar  (sar)
a head person (of any rank or class) -- captain (that had rule), chief (captain), general, governor, keeper, lord, (-task-)master, prince(-ipal), ruler, steward.
chaphar  (khaw-far')
to pry into; by implication, to delve, to explore -- dig, paw, search out, seek.
the well
'er  (be-ayr')
a pit; especially a well -- pit, well.
the nobles
nadiyb  (naw-deeb')
voluntary, i.e. generous; hence, magnanimous; as noun, a grandee (sometimes a tyrant) -- free, liberal (things), noble, prince, willing (hearted).
of the people
`am  (am)
a people (as a congregated unit); specifically, a tribe (as those of Israel); hence (collectively) troops or attendants; figuratively, a flock -- folk, men, nation, people.
karah  (kaw-raw')
to dig; figuratively, to plot; generally, to bore or open -- dig, make (a banquet), open.
it by the direction of the lawgiver
chaqaq  (khaw-kak')
to hack, i.e. engrave (Judges 5:14, to be a scribe simply); by implication, to enact (laws being cut in stone or metal tablets in primitive times) or (gen.) prescribe
with their staves
mish`enah  (mish-ay-naw')
support (abstractly), i.e. (figuratively) sustenance or (concretely) a walking-stick -- staff.
And from the wilderness
midbar  (mid-bawr')
a pasture (i.e. open field, whither cattle are driven); by implication, a desert; also speech (including its organs) -- desert, south, speech, wilderness.
they went to Mattanah
Mattanah  (mat-taw-naw')
Mattanah, a place in the Desert -- Mattanah.