Within the community, though, Mr Lee said there are "troubling signs". He spoke of disputes among fellow Singaporeans, and something a little bit more difficult to manage -- relations between Singaporeans and new arrivals.
The prime minister said: "I think it's fair enough to express concern or disagree with our immigration trends or oppose our immigration policies. That's part of the democratic debate.
"But I am worried by some of the nasty views which are expressed -- especially online and especially anonymously. When a foreigner says or does something wrong, especially to a Singaporean, response is overwhelming.
"But bad Singaporean behaviour often goes uncriticised and a good deed by a foreigner often goes unnoticed."
Mr Lee said such incidents reflect badly on Singaporeans, damage Singapore's international reputation and give the impression that the country is anti-foreigner and xenophobic.
He called on both Singaporeans and new arrivals to show a generosity of spirit to one another. "New arrivals must also embrace our values, commit themselves to Singapore and integrate into our community," he added.
Get over the anti-foreigner and xenophobic mentality.
The situation has been with us for so many years already, and will continue to exist into the future. Looking at our fertility rate, it's not too far in the future for Singapore to reach a 1:1 ratio of Singaporeans vs Foreigners.
So prepare yourself for that likely scenario.
Most people are still harping on this issue when they should have moved on long time ago.
Better get used to the reality and future now.