Over all the telescopes put into space at the L points are cheaper than putting telescopes in low to medium Earth orbits.
They are designed to have a finite shelf life, and once the program it was designed for is finished so are they

but some still go on to provide information for many years after the main project was finished