>>1476241>If its a free game (example: Apex Legends)Right click on the tittle and go to the "manage" option then "remove from your account".
Also to see the "remove from account" option the game must be uninstalled first.
>If this a game that was a purchasedYou can only hide it or make the game private under the "manage" option.
These type of questions are answered on the Steam forum.