VII was a good submarine but lack of firepower, range, and endurance.
Also there was a decisive difference compared with U.S submarines, Radar

, they can know the position heading and range of enemy planes making the things a lot easier .
to sum up german submarines were good in hardware while us submarines were very good in electronics and enough good in hardware ,24 torpedos in iternal reloads is a big difference