The guests struck the woodwork three times and nearly stole victory with the last kick of the game, and Lahm suggested it would not have been an undeserved outcome.
"We could have won easily here," he told ZDF television. "We had the best chances and we hit the woodwork three times."
"It's always good to have tests like this, to see what we still need to improve on and what we are doing well."
"We knew it wouldn't be a friendly game against Italy," he said. "That is why we chose these games, to play at a very high level.
"Italy are tactically and defensively very strong, changing things around a lot during games.
"They are brought up to play like this from birth so it's good to try things out against them."