To pin faith to or To pin faith on means to have full reliance on something or somebody.
1. Rakesh pinned his faith to the sports scholarship to get him admission to the prestigious college.
2. Swati pinned her faith on her best friend and knew Avantika would help her out with her class project.