I saw a bunch of these in my garden last summer. I didn't know if they were friend or foe so I did some research. Goldenrod Soldier Beetle or Pennsylvania Leatherwing (Chauliognathus pensylvanicus) can be found hanging out on flowers like goldenrod & marigolds which are good spots to lie in wait for prey as well as a good meeting place for mates. Adults may also feed on nectar and pollen but do not damage plants and they don't bite or sting.
The soldier beetle's elytra is more hardened than the wings of most insects, but much softer than the elytra of most other beetles which is where they got the name "Leatherwing"