Is Brunei a poor country?

before the discovery of oil and gas brunei is poor but today brunei is very very very rich because of oil and gas