Luke 9:37-42 (NKJV)
37 Now it happened on the next day, when they had come down from the mountain, that a great multitude met Him. 38 Suddenly a man from the multitude cried out, saying, “Teacher, I implore You, look on my son, for he is my only child. 39 And behold, a spirit seizes him, and he suddenly cries out; it convulses him so that he foams at the mouth; and it departs from him with great difficulty, bruising him. 40 So I implored Your disciples to cast it out, but they could not.” 41 Then Jesus answered and said, “O faithless and perverse generation, how long shall I be with you and bear with you? Bring your son here.” 42 And as he was still coming, the demon threw him down and convulsed him. Then Jesus rebuked the unclean spirit, healed the child, and gave him back to his father.
In the above text Christ upbraids the perverse generation but its not clear to whom he was referring to.Was Christ here upbrading his disciples for failure to cast out the demonic spirit or the multitude for their unbelief?