YANBU, it is just good food hygiene and it would bother me too. However I have just eaten chocolate 6 months out of date which didn't bother me. Lots of people would care about the meat but many wouldn't
It's wrapped - it'll be fine! I am a fairly concerned person when it comes to food poisoning because a bout can knock me off my feet for weeks or even months. But both items were wrapped - they are therefore separated and the risk is minimal.
If I was really concerned I might make eg a pasta dish with ham so the ham was heated through before eating. But I really don't think that it's necessary.
It’s not good practice but if both are securely wrapped it will be fine. You could rewrap the ham if you’re concerned.
But I’ve totally been where you are, I had severe emetophobia in my late teens, 18 year old me wouldn’t have had bacon at all tbh, if someone else had it and put it on top of something of mine I would’ve binned it as well.
So you will be fine, but I know how horrible emetophobia is so don’t beat yourself up if you do bin it