It depends on the Minecraft Edition you are playing. 1.17 packs are free for the Java edition, whereas you have to pay money for some Bedrock and MCPE packs. But there are some free alternatives.