Actually, Christ prayed and worshiped openly at the temple in Jerusalem (some believe) his entire life. He was not opposed to this practice, per se. He was opposed to the practice of openly praying, "twerking," dramatic worship, etc., as pure show and with no spiritual substance. He also had his own personal time of devotion to the father, at which time he allowed only certain disciples to join him.