The Happy Prince and the little swallow were rewarded by God for their selflessness and kindness. They were deemed the two most precious things in the city and were granted eternal happiness in Paradise.