This thread was bumped seeing the injustice in Ukraine. We are forced to content that 'Life is unfair', yet our innate nature longs for justice. Similarly, we long for eternity, a better and healthy life, a meaning for life beyond the material and a conscience that refuses to accept that the universe didn't come on its own. God gave religion not for Him, but for our own contentment.
God didn't simply create us and left us in the dark about Him. Christianity and Islam proselytize because they believe the knowledge of the Divine will help the people. Wouldn't you share something that which you know will benefit others ?
From God's perspective, He created human beings so that He can show His mercy.
Qur'an 11:119 "Except whom your Lord has given mercy, and for that He created them."
Being the Creator, God has full authority to dictate the terms in this relationship. Of course, there is no compulsion in religion (Qur'an 2:256) and compulsion doesn't work either as faith has to come from within to be meaningful.