St Peter's entire denial of Christ was based on human respect.
I would argue more abject fear than human respect. He was terrified that if he were outed as an Apostle that he too would end up crucified.
Nevertheless, yes, the Apostles failed during that time. After 3 years of being with Our Lord and witnessing His power and His miracles, raising people from the dead, and then telling them that He would rise again after His death, still none of them believed Him. Our Lady and Our Lady alone kept the faith during that dark time. That is why she wasn't among the women going to anoint His Body on Easter morning.
Even though the Apostles were highly flawed individuals before Our Lord's Resurrection and even before Pentecost, Church Fathers and theologians hold that they were all confirmed in grace at least after Pentecost. And the cowardly men hiding behind closed doors were transformed into heroes of the Faith and of the Church, intrepid in every way. Despite being around Our Lord for 3 years, James and John were still jockeying for position in the Kingdom of God. They all fell asleep in the garden, and all but St. John fled during Our Lord's Passion, but even St. John didn't have much hope that Our Lord would rise again. And then you had Judas being Judas.
Our Lord allowed them to show their weakness precisely to demonstrate the power of His grace to transform them.