I shared this with my feed, but I think you are going to have to provide a little more description than 6 legs. Like size, color or colors, where you found it, and what was it doing? Someone can work with this a little more.
I have heard about hornets who have long legs and are pretty slim the way you mention it. These bees are dark yellow in color and also have some combination of black shade in it. Their legs to resemble to that of a spider. Only if you could tell us the color of the bee you found, then maybe one can answer specifically.