Cannot send a simple string with Arduino Mega connected to XBee 802.15.4

Hi, everyone can someone help me with the following issue?
It turns out I want to make an Xbee communication, I want to send a string from my arduino connected to an Xbee that says "Hello" to another Xbee connected directly to my computer and be able to see the message i sent from arduino in XCTU software. But I only can receive data in arduino, but not sent it. I have connected the TX3 of Arduino Mega to a voltage divisor so that 5V of data drops to 3.3V of Xbee RX so it does not ruin, I dont know if that could be the problem. And to receive the messages I have connected TX Xbee to RX3 Mega. I first tried with this code:

void setup()
{
// put your setup code here, to run once:
Serial.begin(9600);
Serial3.begin(9600);

}

void loop()
{
// put your main code here, to run repeatedly:
if (Serial3.available() > 0)
{
String msg = Serial3.readString();
Serial.println(msg);
Serial3.println("Hello");
}

}

I can read the message but when I print, it does not work

I tested the two Xbee in XCTU Console and they worked fine, I was able to send and receive frames
Also tried to use the Xbee library from andrewrapp.
I am using Digi XBee3 802.15.4

Provide a link to a high resolution photo showing all the connections.
Show the communication parameters you have set in both Xbees.
Show the code for both Arduinos.