Resell the 8GB of RAM and buy an even better phone then? That's 150 euros of value right there.
Then use the money on a reputable second hand store to buy a used S20 5G 128GB for 150 euros, or a S22 128GB for 145, maybe an S21 Ultra 5G 256GB for 139, and you've got yourself a valiant workstation already (Samsung DeX works great out of the box, no need to wait for Google here). I can also find an S20+ 5G 128GB for 75 euros with display damage (but that doesn't matter when you hook it up to a monitor).
On another website I can find an S20+ 5G with cracks in the edges of the touch screen for 50 euros. That's 12GiB of RAM, 128GiB of storage, a 3200x1440p@120Hz screen and 5G connectivity built in. You're gonna need a Bluetooth mouse and keyboard (that's like what, 5 euros?) to hook it up to the TV but then you're good.
Where is the $150 euros coming from? 8GB of brand new DDR3 or DDR4 is available for $20-$30 from Amazon / Fleabay, and once he sells it the laptop will no longer work.