I have purchased the Java edition, and played successfully. After several months, when I login to the game, it required me to buy it again.
Comments 2
This is not a bug in the game, but rather an account/payment issue, and as listed in the Bug Tracker Guidelines, you should contact Microsoft Support instead of putting it here.
this happend around the time that 1.21.4 turned into 1.21.5