The view on it can vary. When I asked an uncle in my society his answer was like:
My honest advice, after 20 years in government service, is to stay in IT. A government job may provide security, but you will never be compensated fairly. Your growth chances will be limited to a certain level, which may frustrate you; nevertheless, with IT, the sky is the limit!
And another answer of my friend was like:
If you’re interested in working for a bank, they can present you with job ads in your area. Opt for PNB in Ibps, just like rural banks. However, only take this step if you want to work in the service industry.