Never pre-ground if you care about taste.
Hoffman was surprised to find that it only took 24 hours before his high end coffee tasted inferior to fresh ground ordinary beans. (Unless I'm misremembering details but that was the gist).
A decent hand grinder still works on a budget. It's easy to get the grind done while the water heats. Also a great thing for travel and camping.