In the context of software development, "don't recreate the wheel" often implies "spend more time learning how to use and integrate this random wheel rather than build a simple wheel yourself".
This is why these things should be seen as guiding principles instead of rules.