How come King Solomon was allowed to be rich by God but being rich is looked down upon in the Bible?

Update: And also have many people to have sex with and given lots of stuff
9 answers 9