A Question about Display RX pin(digital pin) on lcd I2C

but with the below code I can display only the data that I write in serial monitor but I want to display only the RX pin(pin 0) of arduino on my LCD I2C.

That's the same pin. On pin 0 the Arduino gets the data that you transfer using the Serial Monitor.