Few among men are those who cross to the farther shore. The rest, the bulk of men, only run up and down the hither bank.
But those who act according to the perfectly taught Dhamma will cross the realm of Death, so difficult to cross
Extremely few go all the way to Nibbana.
But it's not right to say that there are no good people. There may be many good people, but they may not be trying to escape suffering.
By "good people", I mean people who try to practise the four brahmaviharas - loving kindness (metta), compassion (karuna), empathetic joy (mudita) and equanimity (upekkha). One could practise these without trying to attain Nibbana.
For example, anyone who tries to help another person is obviously showing compassion.
What about the five precepts?
A monk (a full time, professional practitioner of the Dhamma) needs to practise the five precepts as perfectly as possible, as explained in the section entitled "The Moral Foundation for Jhana" by Ven. Gunaratana and also as explained in this answer.
However, a lay follower of the Dhamma may commit themselves to the practice of the five precepts but they may not strive to practise it perfectly.
Here's one example:
The lay follower who does not practice the five precepts perfectly, will not kill humans and most animals, but may occasionally kill a mosquito.
I'm sure we can find similar examples for the other four precepts.