Acts 24:22 & 23
Then Felix, who was well acquainted with the Way, adjourned the proceedings. 'When Lysias the commander comes,' he said, 'I will decide your case.' He ordered the centurion to keep Paul under guard but to give him some freedom and permit his friends to care of his needs.
So, after hearing both sides, Felix, whose name means "pleasure" and who was a cruel and immoral man, decides not to decide. He puts the decision off and holds Paul but gives him more freedoms than normal. Felix new about the Jewish laws and even he could see that Paul was not guilty but he still did not release him. We might ask why God would let His child suffer under arrest like that and the simple answer is that we see parts but God sees His whole plan and He knows what is truly best.