Uses Origins to let you select a class from the RPG series.
When you select a class you are given a book with curse of binding in your spell book slot with all spells attached.
Here is how it looks:

How to Install RPG Series Class Selection (Datapack)
RPG Series Class Selection by dwnsdp is verified for Datapack, Fabric, Forge, Neoforge, Quilt across Minecraft versions 1.20.1, 1.21, 1.21.1 (latest release: 0.17+mod, file size: 24 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1, 1.21, 1.21.1) and platform (Datapack, Fabric, Forge, Neoforge, Quilt).
- Make sure you have the compatible loader or environment installed for Datapack, Fabric, Forge, Neoforge, Quilt.
- Move the downloaded RPG Series Class Selection file into your Minecraft
.minecraft/saves/<world>/datapacksfolder and launch the game.