How many devices can i share my apple ID with?

iOS and iPadOS

Hello fellow applevis members,
I am arvind from malaysia and i would like to make a query regarding an issue i have regarding sharing of apple id's In a discussion which i had recently with a group of friends.

A friend had informed me that we can share one apple id up to ten ios devices,
I was just wondering, if this was true,
Then, what would happen if i purchased my 11th ios device,
Would i be able to login to the 11th ios device with the same apple id?

Just need some clarification regarding this issue.
Any response would be greatly appreciated,