Why is beryllium a better choice than iron for making airplanes?

Beryllium has a much better strength to weight ratio. However, it is also much more expensive than iron.