I don’t think you’re a jerk. You bought what you needed, you didn’t hog all the essentials “just in case”, which is what jerks do.
Don’t ever feel bad about getting what you need. If more people did that, there wouldn’t be any shortages. Because there’s more than enough to fulfill everyone’s needs. It’s the jerks taking the needs of 10 people for 3 months on top of their own that are the problem.