Unfortunately, layoffs are not fair and it is not at all rare that some good and capable people are laid off instead of those who do not add any value to the company. Instead of blaming yourself, go out with your head held high, because some other place will appreciate your knowledge and skills more.
Hi Anonymous. It depends on your age. If you are 50 y.o. or older it will be very difficult for you to find a new role that pays as much as you earned at GS.