Here is a true life application of the Pythagorean theorem (the 3-dimensional version, which is a corollary of the 2-dimensional version).
My wife and I needed to have a long iron rod manufactured for us, to use as a curtain rod.
I measured the length $L$ of the rod we wanted.
But we forgot to take into account that we live on the 24th floor of an apartment building and therefore the only way the rod could get into our apartment was by coming up the elevator.
Would the rod fit in the elevator?
My wife measured the height $H$, the width $W$, and the depth $D$ of the elevator box. She then calculated the diagonal of the elevator box by applying the Pythagorean theorem: $\sqrt{H^2 + W^2 + D^2}$. She compared it to $L$, and thankfully, it was greater than $L$. The rod would fit!
I would like to say that we realized this problem BEFORE we asked them to manufacture the rod, but that would be a lie. However, at least my wife realized it before the manufacturers arrived at our apartment building with the completed curtain rod, and she quickly did the measurements, and the Pythagorean Theorem calculation, and the comparison. So PHEW, we were saved.