Learning to glide first makes you a better pilot when you add an engine.
Years ago I compared the costs and found that there was little difference between learning to fly gliders and learning to fly powered. Course it's different nowadays as there are different 'routes' to powered flying eg microlights, LAPL etc.