who wrote the song be thankful for what you got