Hello Russell. It seems you are trying to sign into your Minecraft account from a different computer and it is telling you to buy Minecraft again. This situation usually occurs when the account you're signing into is not the account that purchased the game, or your legacy Mojang account was not migrated to a Microsoft account prior to the deadline.
Mojang accounts all migrated to Microsoft accounts on December 18, 2023 in order to be able to sign into Minecraft: Java Edition. If you did not complete your migration, Minecraft Support can no longer assist with the recovery of those accounts. If you miss this migration window and the Mojang credentials were never moved to a Microsoft account, you will have to purchase it again through a Microsoft account.
If you did complete your migration, please check that you are signing into the Minecraft Launcher using the Microsoft account that holds the license. If you want access to the game without repurchasing, you can get the launcher from the official Minecraft website to log in with that account.
If you bought two separate copies, one for you and one for your kid, each license will be tied to its own Microsoft account, and you will have to log in with the specific account that owns the license in order to play.
Best regards,