This is right and is acceptable in the sight of God our Saviour, who desires everyone to be saved and to come to the knowledge of the truth. For
there is one God
there is also one mediator
between God and humankind
Christ Jesus, himself human,
who gave himself a ransom for all. (1Timothy 2:3-6)
The baptism by John in the Jordan evokes some of the great moments in Israel's history, of failed covenantal righteousness and renewal offered. Think of the Exodus, liberation from slavery through the waters of the Red Sea. Think of the entrance into the Primised Land through the (temporarily) dry bed of the Jordan River. Followed by centuries of prophetic criticism and hope in a new covenant.
In the Baptist, the offer of renewal is underway: a baptism of repentance for the forgiveness of sins (Lk 3:3) in preparation for the coming of the messiah. (Lk 3:15-17)
John preached for a response. (Lk 3:7-14) John called the people from their unfaithfulness and from the centres and people of power and importance into the wilderness (Lk 3:1-2), like returning from exile. (Lk 3:4-6)
But there was a surprise in Jesus, the messiah. Jesus is God's radical turn to the sinner, displayed in a fashion that brought joy to some and opposition from others. In the table-fellowship of Jesus, his absolving of sins and healings, his relationship to the Law and the Temple, his parables and teaching, Jesus ran counter to the expectations of many. (cf Lk 7:18-23)
And this turn to the sinner is deepened in the cross. The rejection of Jesus by all leads to the greatest surprise: forgiveness of sins to those who rejected the offer of grace and forgiveness in the first place! And if that wasn't surprising enough, the one rejected is our acceptance of the offer of renewal. In Christ we are simulataneously forgiven and in his faithfulness, self-sacrifice, and surrender to God the covenant is fulfilled. The Law is written on a human heart. (The heart of Jesus, see Jer 31:31-34.)