I disagree that it's good advice. And that's because I personally understand somewhat what that Christian questioner was feeling. He had doubts about God and His role in his life. He thought God saved him but is having a hard time trusting that God could save.
Ralph responds by assuming God may not be in his life and by putting the blame on him for failing to have God in his life, and then he adds some condescending Scriptures. He is arrogant and full of it.
Saying he needs to stop being a dick to people may be good advice, but a good advice is only good when it's not part of a shit advice that overrules the individually good advice.
While some secular readers (like you) may focus more on the "don't be a dick to other people" in Ralph's advice and act upon this particular bit itself rather than the repent and turn to God bit, this "Christian in need" is compelled to "look at the bigger picture" and humiliate himself for God by praying and praying continually and hoping God loves him enough to finally be in his life and change him and give him joy and peace only to realize that it's not God who'll make this person change but only he himself.
A person who happens to be a dick needs to change from the inside in order to change properly (and, sadly, some people don't have that capacity to change). Being encouraged to hide his shittiness behind God will only result in a shallow change that never lasts long anyway.