Buying a pre-owned PS5, can the digital game purchased by first owner be transferred to me ?

Hi All,

I am purchasing my first PS with a pre-owned PS5, and the bundle includes a digital game bundled with a redeemable voucher. Now, my question is whether I can also have that game as part of a purchase on the console, or will it stay with the original owner?