Seven years ago, Justin Bieber was arrested by Miami police for impaired driving and resisting arrest.

"Not my finest hour," the artist writes in a post made to Instagram Saturday.

"Not proud of where I was at in my life. I was hurting, unhappy, confused, angry, mislead, misunderstood and angry at God."

Bieber says a lot has changed in his life since then.

"God has brought me a long way. From then til now I do realize something ... God was as close to me then as he is right now."

The singer has taken to social media in recent months to share content based on his Christian faith. His posts have been offering encouragement and real reminders for believers.

"My encouragement to you is to ‘let your past be a reminder of how far God has brought you," Bieber says.

"Don’t allow shame to ruin your 'today;' let the forgiveness of Jesus take over and watch your life blossom into all that God has designed you to be. LOVE YOU GUYS WITH MY WHOLE HEART."

Last week, Bieber shared another post concerning faith.

"Many people would mistake me for a religious man, which i am not," Bieber writes on Instagram.

"I am however in love with the one who created me. I believe Jesus is the saviour of humanity and that his love is what changes us."

Bieber continues.

"I believe that the brokenness of humanity pains God and that he sent an answer and provided hope in Jesus ... my advice is to steer clear of religion, but put your hope in the eternal one who died an excruciating death so that you and i could truly live on for eternity."


View this post on Instagram

A post shared by Justin Bieber (@justinbieber)

The artist says it is knowing this truth that has brought him through difficult times.

"This is what I believe and it has brought me extraordinary peace through the pains of this broken planet. This truth helps me to let go and not store treasures here on earth. I believe this pain won't last forever, one day i will be in heaven where there is no pain or suffering but until then i live by faith and not by sight."