By saying that you know there is a plan behind the pain even if you don???t know what it is you are giving others hope that there is a plan behind their pain too and that it is possible to go on with God by your side and that He does care, no matter what it might feel like at the time.