Blow up a brown grocery bag like a balloon and secure the end. Turn it upside down and hang it somewhere in your garden. They will think it is a rivals nest and not go near! Best wishes.....
You want the bees because they are pollinators. Wasps can be deterred by a wasp nest decoy.
Without them you won't get any vegetables.
Take all the flowers out, then you will not have any bees but a very boring garden!