If you think God created or Hindu religion/ philosophy created it.. Thats absolutely wrong.
God treats all individuals alike who follow the path of righteousness laid down by Him. Come what may his/her caste or creed be; HIS eyes of grace and blessing is alike to one and all. Examples are shabari, Guha, Vibeeshana, Sugreeva and so on where considered so dear to Lord Sri Rama. Valmiki Ramayana only speaks of values for individuals to follow and none other than that.
A person born into a certain caste is based on His/ Her purva samskaara. i.e., the good and bad he/she did in his/her previous birth. That decides his future which is his next birth. THis is not biased/ God given nor any bane of Hindu Society. This can be paralleled to a person committing a henious crime in society in his current birth and getting jailed for life. He can't expect to go work as a Chief Justice of Supreme Court.
While caste demarcates these differences in how individual souls are over births, it doesnt differentiate people in front of God. For all are God's own.