Alot of single people think that marriage is the solution of loneliness. It’s not. The solution is on the inside. Filling your heart with something meaningful. Prophet Yusuf/Joseph (as) was single but contented. He went through a lot of trials but he didn’t give up.
Sometimes in life, people may not value us but God values us. People cannot see the qualities in us but God sees the qualities He has placed inside each and everyone of us.
If you’re still single, invest this time to develop your qualities. Ask Allah to show you the signs. Be open to the signs. Ask God to direct your heart.