Prayer is reaching out to God in thanks, in love, and in need when you have done all humanly possible. I doubt there is ever any thanks sincerely given, there is no love, and they haven't even tried, and God isn't gonna fix something they won't even start on.